T
- The type of buffer@Generated(value={"Immutables.generator","JCGLBufferUpdateType<T>"}) public final class JCGLBufferUpdate<T extends JCGLBufferWritableType> extends Object implements JCGLBufferUpdateType<T>
JCGLBufferUpdates
Modifier and Type | Class and Description |
---|---|
static class |
JCGLBufferUpdate.Builder<T extends JCGLBufferWritableType>
Builds instances of type
JCGLBufferUpdate . |
Modifier and Type | Method and Description |
---|---|
T |
buffer() |
static <T extends JCGLBufferWritableType> |
builder()
Creates a builder for
JCGLBufferUpdate . |
ByteBuffer |
data() |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL |
dataUpdateRange() |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLBufferUpdate that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
buffer , data , dataUpdateRange . |
static <T extends JCGLBufferWritableType> |
of(T buffer,
ByteBuffer data,
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL dataUpdateRange)
Construct a new immutable
JCGLBufferUpdate instance. |
String |
toString()
Prints the immutable value
JCGLBufferUpdate with attribute values. |
public T buffer()
buffer
in interface JCGLBufferUpdateType<T extends JCGLBufferWritableType>
public ByteBuffer data()
data
in interface JCGLBufferUpdateType<T extends JCGLBufferWritableType>
data
in interface JCGLDataUpdateType<T extends JCGLBufferWritableType>
data
attributepublic com.io7m.junsigned.ranges.UnsignedRangeInclusiveL dataUpdateRange()
dataUpdateRange
in interface JCGLBufferUpdateType<T extends JCGLBufferWritableType>
dataUpdateRange
in interface JCGLDataUpdateType<T extends JCGLBufferWritableType>
dataUpdateRange
attributepublic boolean equals(Object another)
JCGLBufferUpdate
that have equal attribute values.public int hashCode()
buffer
, data
, dataUpdateRange
.public String toString()
JCGLBufferUpdate
with attribute values.public static <T extends JCGLBufferWritableType> JCGLBufferUpdate<T> of(T buffer, ByteBuffer data, com.io7m.junsigned.ranges.UnsignedRangeInclusiveL dataUpdateRange)
JCGLBufferUpdate
instance.buffer
- The value for the buffer
attributedata
- The value for the data
attributedataUpdateRange
- The value for the dataUpdateRange
attributepublic static <T extends JCGLBufferWritableType> JCGLBufferUpdate.Builder<T> builder()
JCGLBufferUpdate
.T
- generic parameter TCopyright © 2017 <code@io7m.com> http://io7m.com