Package org.lwjgl.system.linux
Class Statx.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<Statx,Statx.Buffer>
-
- org.lwjgl.system.linux.Statx.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<Statx>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- Statx
public static class Statx.Buffer extends org.lwjgl.system.StructBuffer<Statx,Statx.Buffer> implements org.lwjgl.system.NativeResource
An array ofStatx
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatxTimestamp
stx_atime()
Statx.Buffer
stx_atime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_atime()
field to the specifiedConsumer
.Statx.Buffer
stx_atime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_atime()
field.long
stx_attributes()
Statx.Buffer
stx_attributes(long value)
Sets the specified value to theStatx.stx_attributes()
field.long
stx_attributes_mask()
Statx.Buffer
stx_attributes_mask(long value)
Sets the specified value to theStatx.stx_attributes_mask()
field.int
stx_blksize()
Statx.Buffer
stx_blksize(int value)
Sets the specified value to theStatx.stx_blksize()
field.long
stx_blocks()
Statx.Buffer
stx_blocks(long value)
Sets the specified value to theStatx.stx_blocks()
field.StatxTimestamp
stx_btime()
Statx.Buffer
stx_btime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_btime()
field to the specifiedConsumer
.Statx.Buffer
stx_btime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_btime()
field.StatxTimestamp
stx_ctime()
Statx.Buffer
stx_ctime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_ctime()
field to the specifiedConsumer
.Statx.Buffer
stx_ctime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_ctime()
field.int
stx_dev_major()
Statx.Buffer
stx_dev_major(int value)
Sets the specified value to theStatx.stx_dev_major()
field.int
stx_dev_minor()
Statx.Buffer
stx_dev_minor(int value)
Sets the specified value to thestx_dev_minor
field.int
stx_gid()
Statx.Buffer
stx_gid(int value)
Sets the specified value to theStatx.stx_gid()
field.long
stx_ino()
Statx.Buffer
stx_ino(long value)
Sets the specified value to theStatx.stx_ino()
field.int
stx_mask()
Statx.Buffer
stx_mask(int value)
Sets the specified value to theStatx.stx_mask()
field.long
stx_mnt_id()
Statx.Buffer
stx_mnt_id(long value)
Sets the specified value to thestx_mnt_id
field.short
stx_mode()
Statx.Buffer
stx_mode(short value)
Sets the specified value to theStatx.stx_mode()
field.StatxTimestamp
stx_mtime()
Statx.Buffer
stx_mtime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_mtime()
field to the specifiedConsumer
.Statx.Buffer
stx_mtime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_mtime()
field.int
stx_nlink()
Statx.Buffer
stx_nlink(int value)
Sets the specified value to theStatx.stx_nlink()
field.int
stx_rdev_major()
Statx.Buffer
stx_rdev_major(int value)
Sets the specified value to theStatx.stx_rdev_major()
field.int
stx_rdev_minor()
Statx.Buffer
stx_rdev_minor(int value)
Sets the specified value to thestx_rdev_minor
field.long
stx_size()
Statx.Buffer
stx_size(long value)
Sets the specified value to theStatx.stx_size()
field.int
stx_uid()
Statx.Buffer
stx_uid(int value)
Sets the specified value to theStatx.stx_uid()
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStatx.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 byStatx.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
-
stx_mask
public int stx_mask()
- Returns:
- the value of the
Statx.stx_mask()
field.
-
stx_blksize
public int stx_blksize()
- Returns:
- the value of the
Statx.stx_blksize()
field.
-
stx_attributes
public long stx_attributes()
- Returns:
- the value of the
Statx.stx_attributes()
field.
-
stx_nlink
public int stx_nlink()
- Returns:
- the value of the
Statx.stx_nlink()
field.
-
stx_uid
public int stx_uid()
- Returns:
- the value of the
Statx.stx_uid()
field.
-
stx_gid
public int stx_gid()
- Returns:
- the value of the
Statx.stx_gid()
field.
-
stx_mode
public short stx_mode()
- Returns:
- the value of the
Statx.stx_mode()
field.
-
stx_ino
public long stx_ino()
- Returns:
- the value of the
Statx.stx_ino()
field.
-
stx_size
public long stx_size()
- Returns:
- the value of the
Statx.stx_size()
field.
-
stx_blocks
public long stx_blocks()
- Returns:
- the value of the
Statx.stx_blocks()
field.
-
stx_attributes_mask
public long stx_attributes_mask()
- Returns:
- the value of the
Statx.stx_attributes_mask()
field.
-
stx_atime
public StatxTimestamp stx_atime()
- Returns:
- a
StatxTimestamp
view of theStatx.stx_atime()
field.
-
stx_btime
public StatxTimestamp stx_btime()
- Returns:
- a
StatxTimestamp
view of theStatx.stx_btime()
field.
-
stx_ctime
public StatxTimestamp stx_ctime()
- Returns:
- a
StatxTimestamp
view of theStatx.stx_ctime()
field.
-
stx_mtime
public StatxTimestamp stx_mtime()
- Returns:
- a
StatxTimestamp
view of theStatx.stx_mtime()
field.
-
stx_rdev_major
public int stx_rdev_major()
- Returns:
- the value of the
Statx.stx_rdev_major()
field.
-
stx_rdev_minor
public int stx_rdev_minor()
- Returns:
- the value of the
stx_rdev_minor
field.
-
stx_dev_major
public int stx_dev_major()
- Returns:
- the value of the
Statx.stx_dev_major()
field.
-
stx_dev_minor
public int stx_dev_minor()
- Returns:
- the value of the
stx_dev_minor
field.
-
stx_mnt_id
public long stx_mnt_id()
- Returns:
- the value of the
stx_mnt_id
field.
-
stx_mask
public Statx.Buffer stx_mask(int value)
Sets the specified value to theStatx.stx_mask()
field.
-
stx_blksize
public Statx.Buffer stx_blksize(int value)
Sets the specified value to theStatx.stx_blksize()
field.
-
stx_attributes
public Statx.Buffer stx_attributes(long value)
Sets the specified value to theStatx.stx_attributes()
field.
-
stx_nlink
public Statx.Buffer stx_nlink(int value)
Sets the specified value to theStatx.stx_nlink()
field.
-
stx_uid
public Statx.Buffer stx_uid(int value)
Sets the specified value to theStatx.stx_uid()
field.
-
stx_gid
public Statx.Buffer stx_gid(int value)
Sets the specified value to theStatx.stx_gid()
field.
-
stx_mode
public Statx.Buffer stx_mode(short value)
Sets the specified value to theStatx.stx_mode()
field.
-
stx_ino
public Statx.Buffer stx_ino(long value)
Sets the specified value to theStatx.stx_ino()
field.
-
stx_size
public Statx.Buffer stx_size(long value)
Sets the specified value to theStatx.stx_size()
field.
-
stx_blocks
public Statx.Buffer stx_blocks(long value)
Sets the specified value to theStatx.stx_blocks()
field.
-
stx_attributes_mask
public Statx.Buffer stx_attributes_mask(long value)
Sets the specified value to theStatx.stx_attributes_mask()
field.
-
stx_atime
public Statx.Buffer stx_atime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_atime()
field.
-
stx_atime
public Statx.Buffer stx_atime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_atime()
field to the specifiedConsumer
.
-
stx_btime
public Statx.Buffer stx_btime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_btime()
field.
-
stx_btime
public Statx.Buffer stx_btime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_btime()
field to the specifiedConsumer
.
-
stx_ctime
public Statx.Buffer stx_ctime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_ctime()
field.
-
stx_ctime
public Statx.Buffer stx_ctime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_ctime()
field to the specifiedConsumer
.
-
stx_mtime
public Statx.Buffer stx_mtime(StatxTimestamp value)
Copies the specifiedStatxTimestamp
to theStatx.stx_mtime()
field.
-
stx_mtime
public Statx.Buffer stx_mtime(java.util.function.Consumer<StatxTimestamp> consumer)
Passes theStatx.stx_mtime()
field to the specifiedConsumer
.
-
stx_rdev_major
public Statx.Buffer stx_rdev_major(int value)
Sets the specified value to theStatx.stx_rdev_major()
field.
-
stx_rdev_minor
public Statx.Buffer stx_rdev_minor(int value)
Sets the specified value to thestx_rdev_minor
field.
-
stx_dev_major
public Statx.Buffer stx_dev_major(int value)
Sets the specified value to theStatx.stx_dev_major()
field.
-
stx_dev_minor
public Statx.Buffer stx_dev_minor(int value)
Sets the specified value to thestx_dev_minor
field.
-
stx_mnt_id
public Statx.Buffer stx_mnt_id(long value)
Sets the specified value to thestx_mnt_id
field.
-
-