Package org.lwjgl.system.linux
Class StatxTimestamp.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StatxTimestamp,StatxTimestamp.Buffer>
-
- org.lwjgl.system.linux.StatxTimestamp.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<StatxTimestamp>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- StatxTimestamp
public static class StatxTimestamp.Buffer extends org.lwjgl.system.StructBuffer<StatxTimestamp,StatxTimestamp.Buffer> implements org.lwjgl.system.NativeResource
An array ofStatxTimestamp
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
tv_nsec()
StatxTimestamp.Buffer
tv_nsec(int value)
Sets the specified value to theStatxTimestamp.tv_nsec()
field.long
tv_sec()
StatxTimestamp.Buffer
tv_sec(long value)
Sets the specified value to theStatxTimestamp.tv_sec()
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStatxTimestamp.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 byStatxTimestamp.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
tv_sec
public long tv_sec()
- Returns:
- the value of the
StatxTimestamp.tv_sec()
field.
-
tv_nsec
public int tv_nsec()
- Returns:
- the value of the
StatxTimestamp.tv_nsec()
field.
-
tv_sec
public StatxTimestamp.Buffer tv_sec(long value)
Sets the specified value to theStatxTimestamp.tv_sec()
field.
-
tv_nsec
public StatxTimestamp.Buffer tv_nsec(int value)
Sets the specified value to theStatxTimestamp.tv_nsec()
field.
-
-