Package org.lwjgl.llvm
Class LLVMOpInfo1.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<LLVMOpInfo1,LLVMOpInfo1.Buffer>
-
- org.lwjgl.llvm.LLVMOpInfo1.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<LLVMOpInfo1>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- LLVMOpInfo1
public static class LLVMOpInfo1.Buffer extends org.lwjgl.system.StructBuffer<LLVMOpInfo1,LLVMOpInfo1.Buffer> implements org.lwjgl.system.NativeResource
An array ofLLVMOpInfo1
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LLVMOpInfoSymbol1
AddSymbol()
Returns aLLVMOpInfoSymbol1
view of theAddSymbol
field.LLVMOpInfo1.Buffer
AddSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
Passes theAddSymbol
field to the specifiedConsumer
.LLVMOpInfo1.Buffer
AddSymbol(LLVMOpInfoSymbol1 value)
Copies the specifiedLLVMOpInfoSymbol1
to theAddSymbol
field.LLVMOpInfoSymbol1
SubtractSymbol()
Returns aLLVMOpInfoSymbol1
view of theSubtractSymbol
field.LLVMOpInfo1.Buffer
SubtractSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
Passes theSubtractSymbol
field to the specifiedConsumer
.LLVMOpInfo1.Buffer
SubtractSymbol(LLVMOpInfoSymbol1 value)
Copies the specifiedLLVMOpInfoSymbol1
to theSubtractSymbol
field.long
Value()
Returns the value of theValue
field.LLVMOpInfo1.Buffer
Value(long value)
Sets the specified value to theValue
field.long
VariantKind()
Returns the value of theVariantKind
field.LLVMOpInfo1.Buffer
VariantKind(long value)
Sets the specified value to theVariantKind
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newLLVMOpInfo1.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 byLLVMOpInfo1.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
-
AddSymbol
public LLVMOpInfoSymbol1 AddSymbol()
Returns aLLVMOpInfoSymbol1
view of theAddSymbol
field.
-
SubtractSymbol
public LLVMOpInfoSymbol1 SubtractSymbol()
Returns aLLVMOpInfoSymbol1
view of theSubtractSymbol
field.
-
Value
public long Value()
Returns the value of theValue
field.
-
VariantKind
public long VariantKind()
Returns the value of theVariantKind
field.
-
AddSymbol
public LLVMOpInfo1.Buffer AddSymbol(LLVMOpInfoSymbol1 value)
Copies the specifiedLLVMOpInfoSymbol1
to theAddSymbol
field.
-
AddSymbol
public LLVMOpInfo1.Buffer AddSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
Passes theAddSymbol
field to the specifiedConsumer
.
-
SubtractSymbol
public LLVMOpInfo1.Buffer SubtractSymbol(LLVMOpInfoSymbol1 value)
Copies the specifiedLLVMOpInfoSymbol1
to theSubtractSymbol
field.
-
SubtractSymbol
public LLVMOpInfo1.Buffer SubtractSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
Passes theSubtractSymbol
field to the specifiedConsumer
.
-
Value
public LLVMOpInfo1.Buffer Value(long value)
Sets the specified value to theValue
field.
-
VariantKind
public LLVMOpInfo1.Buffer VariantKind(long value)
Sets the specified value to theVariantKind
field.
-
-