Class XXH64State.Buffer

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Iterable<XXH64State>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Enclosing class:
    XXH64State


    public static class XXH64State.Buffer
    extends org.lwjgl.system.StructBuffer<XXH64State,XXH64State.Buffer>
    implements org.lwjgl.system.NativeResource
    An array of XXH64State structs.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
    • Field Summary

      • Fields inherited from interface org.lwjgl.system.Pointer

        POINTER_SHIFT, POINTER_SIZE
    • Constructor Summary

      Constructors 
      Constructor and Description
      Buffer(java.nio.ByteBuffer container)
      Creates a new XXH64State.Buffer instance backed by the specified container.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.nio.LongBuffer mem64()
      Returns a LongBuffer view of the mem64 field.
      long mem64(int index)
      Returns the value at the specified index of the mem64 field.
      XXH64State.Buffer mem64(int index, long value)
      Sets the specified value at the specified index of the mem64 field.
      XXH64State.Buffer mem64(java.nio.LongBuffer value)
      Copies the specified LongBuffer to the mem64 field.
      int memsize()
      Returns the value of the memsize field.
      XXH64State.Buffer memsize(int value)
      Sets the specified value to the memsize field.
      java.nio.IntBuffer reserved()
      Returns a IntBuffer view of the reserved field.
      int reserved(int index)
      Returns the value at the specified index of the reserved field.
      XXH64State.Buffer reserved(java.nio.IntBuffer value)
      Copies the specified IntBuffer to the reserved field.
      XXH64State.Buffer reserved(int index, int value)
      Sets the specified value at the specified index of the reserved field.
      int sizeof()
      Returns the sizeof a single element in the buffer.
      long total_len()
      Returns the value of the total_len field.
      XXH64State.Buffer total_len(long value)
      Sets the specified value to the total_len field.
      long v1()
      Returns the value of the v1 field.
      XXH64State.Buffer v1(long value)
      Sets the specified value to the v1 field.
      long v2()
      Returns the value of the v2 field.
      XXH64State.Buffer v2(long value)
      Sets the specified value to the v2 field.
      long v3()
      Returns the value of the v3 field.
      XXH64State.Buffer v3(long value)
      Sets the specified value to the v3 field.
      long v4()
      Returns the value of the v4 field.
      XXH64State.Buffer v4(long value)
      Sets the specified value to the v4 field.
      • Methods inherited from class org.lwjgl.system.StructBuffer

        forEach, get, get, get, get, iterator, parallelStream, put, put, spliterator, stream
      • Methods inherited from class org.lwjgl.system.CustomBuffer

        address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.lwjgl.system.NativeResource

        close, free
    • Constructor Detail

      • Buffer

        public Buffer(java.nio.ByteBuffer container)
        Creates a new XXH64State.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by XXH64State.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: org.lwjgl.system.CustomBuffer
        Returns the sizeof a single element in the buffer.
        Specified by:
        sizeof in class org.lwjgl.system.CustomBuffer<XXH64State.Buffer>
      • total_len

        public long total_len()
        Returns the value of the total_len field.
      • v1

        public long v1()
        Returns the value of the v1 field.
      • v2

        public long v2()
        Returns the value of the v2 field.
      • v3

        public long v3()
        Returns the value of the v3 field.
      • v4

        public long v4()
        Returns the value of the v4 field.
      • mem64

        public java.nio.LongBuffer mem64()
        Returns a LongBuffer view of the mem64 field.
      • mem64

        public long mem64(int index)
        Returns the value at the specified index of the mem64 field.
      • memsize

        public int memsize()
        Returns the value of the memsize field.
      • reserved

        public java.nio.IntBuffer reserved()
        Returns a IntBuffer view of the reserved field.
      • reserved

        public int reserved(int index)
        Returns the value at the specified index of the reserved field.
      • total_len

        public XXH64State.Buffer total_len(long value)
        Sets the specified value to the total_len field.
      • v1

        public XXH64State.Buffer v1(long value)
        Sets the specified value to the v1 field.
      • v2

        public XXH64State.Buffer v2(long value)
        Sets the specified value to the v2 field.
      • v3

        public XXH64State.Buffer v3(long value)
        Sets the specified value to the v3 field.
      • v4

        public XXH64State.Buffer v4(long value)
        Sets the specified value to the v4 field.
      • mem64

        public XXH64State.Buffer mem64(java.nio.LongBuffer value)
        Copies the specified LongBuffer to the mem64 field.
      • mem64

        public XXH64State.Buffer mem64(int index,
                                       long value)
        Sets the specified value at the specified index of the mem64 field.
      • memsize

        public XXH64State.Buffer memsize(int value)
        Sets the specified value to the memsize field.
      • reserved

        public XXH64State.Buffer reserved(java.nio.IntBuffer value)
        Copies the specified IntBuffer to the reserved field.
      • reserved

        public XXH64State.Buffer reserved(int index,
                                          int value)
        Sets the specified value at the specified index of the reserved field.