public static class ZDICTCoverParams.Buffer extends org.lwjgl.system.StructBuffer<ZDICTCoverParams,ZDICTCoverParams.Buffer> implements org.lwjgl.system.NativeResource
ZDICTCoverParams structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
ZDICTCoverParams.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
d()
Returns the value of the
d field. |
ZDICTCoverParams.Buffer |
d(int value)
Sets the specified value to the
d field. |
int |
k()
Returns the value of the
k field. |
ZDICTCoverParams.Buffer |
k(int value)
Sets the specified value to the
k field. |
int |
nbThreads()
Returns the value of the
nbThreads field. |
ZDICTCoverParams.Buffer |
nbThreads(int value)
Sets the specified value to the
nbThreads field. |
double |
splitPoint()
Returns the value of the
splitPoint field. |
ZDICTCoverParams.Buffer |
splitPoint(double value)
Sets the specified value to the
splitPoint field. |
int |
steps()
Returns the value of the
steps field. |
ZDICTCoverParams.Buffer |
steps(int value)
Sets the specified value to the
steps field. |
ZDICTParams |
zParams()
Returns a
ZDICTParams view of the zParams field. |
ZDICTCoverParams.Buffer |
zParams(java.util.function.Consumer<ZDICTParams> consumer)
Passes the
zParams field to the specified Consumer. |
ZDICTCoverParams.Buffer |
zParams(ZDICTParams value)
Copies the specified
ZDICTParams to the zParams field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
ZDICTCoverParams.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 ZDICTCoverParams.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int k()
k field.public int d()
d field.public int steps()
steps field.public int nbThreads()
nbThreads field.public double splitPoint()
splitPoint field.public ZDICTParams zParams()
ZDICTParams view of the zParams field.public ZDICTCoverParams.Buffer k(int value)
k field.public ZDICTCoverParams.Buffer d(int value)
d field.public ZDICTCoverParams.Buffer steps(int value)
steps field.public ZDICTCoverParams.Buffer nbThreads(int value)
nbThreads field.public ZDICTCoverParams.Buffer splitPoint(double value)
splitPoint field.public ZDICTCoverParams.Buffer zParams(ZDICTParams value)
ZDICTParams to the zParams field.public ZDICTCoverParams.Buffer zParams(java.util.function.Consumer<ZDICTParams> consumer)
zParams field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.