@Generated(value={"Immutables.generator","SMFByteBufferPackingConfigurationType"}) public final class SMFByteBufferPackingConfiguration extends Object implements SMFByteBufferPackingConfigurationType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFByteBufferPackingConfiguration.Builder
Builds instances of type
SMFByteBufferPackingConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
javaslang.collection.Seq<SMFAttribute> |
attributesOrdered()
A specification of the sequence of attributes that will be packed into the
byte buffer.
|
static SMFByteBufferPackingConfiguration.Builder |
builder()
Creates a builder for
SMFByteBufferPackingConfiguration. |
static SMFByteBufferPackingConfiguration |
copyOf(SMFByteBufferPackingConfigurationType instance)
Creates an immutable copy of a
SMFByteBufferPackingConfigurationType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SMFByteBufferPackingConfiguration that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
attributesOrdered, packedAttributesByOffset, packedAttributesByOrder, packedAttributesByName, vertexSizeOctets. |
static SMFByteBufferPackingConfiguration |
of(javaslang.collection.Seq<SMFAttribute> attributesOrdered)
Construct a new immutable
SMFByteBufferPackingConfiguration instance. |
javaslang.collection.SortedMap<SMFAttributeName,SMFByteBufferPackedAttribute> |
packedAttributesByName() |
javaslang.collection.SortedMap<Integer,SMFByteBufferPackedAttribute> |
packedAttributesByOffset() |
javaslang.collection.Seq<SMFByteBufferPackedAttribute> |
packedAttributesByOrder() |
String |
toString()
Prints the immutable value
SMFByteBufferPackingConfiguration with attribute values. |
int |
vertexSizeOctets() |
SMFByteBufferPackingConfiguration |
withAttributesOrdered(javaslang.collection.Seq<SMFAttribute> value) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditions, offsetOctetsForIndexpublic javaslang.collection.Seq<SMFAttribute> attributesOrdered()
attributesOrdered in interface SMFByteBufferPackingConfigurationTypepublic javaslang.collection.SortedMap<Integer,SMFByteBufferPackedAttribute> packedAttributesByOffset()
packedAttributesByOffset in interface SMFByteBufferPackingConfigurationTypepublic javaslang.collection.Seq<SMFByteBufferPackedAttribute> packedAttributesByOrder()
packedAttributesByOrder in interface SMFByteBufferPackingConfigurationTypepublic javaslang.collection.SortedMap<SMFAttributeName,SMFByteBufferPackedAttribute> packedAttributesByName()
packedAttributesByName in interface SMFByteBufferPackingConfigurationTypepublic int vertexSizeOctets()
vertexSizeOctets in interface SMFByteBufferPackingConfigurationTypepublic SMFByteBufferPackingConfiguration withAttributesOrdered(javaslang.collection.Seq<SMFAttribute> value)
public boolean equals(Object another)
SMFByteBufferPackingConfiguration that have equal attribute values.public int hashCode()
attributesOrdered, packedAttributesByOffset, packedAttributesByOrder, packedAttributesByName, vertexSizeOctets.public String toString()
SMFByteBufferPackingConfiguration with attribute values.public static SMFByteBufferPackingConfiguration of(javaslang.collection.Seq<SMFAttribute> attributesOrdered)
SMFByteBufferPackingConfiguration instance.attributesOrdered - The value for the attributesOrdered attributepublic static SMFByteBufferPackingConfiguration copyOf(SMFByteBufferPackingConfigurationType instance)
SMFByteBufferPackingConfigurationType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static SMFByteBufferPackingConfiguration.Builder builder()
SMFByteBufferPackingConfiguration.Copyright © 2017 <code@io7m.com> http://io7m.com