public static final class JPRATypeModel.JPRABooleanSet extends JPRATypeModelType.JPRABooleanSetType
JPRATypeModelType.JPRABooleanSetType.
Use the static factory method to create immutable instances:
JPRATypeModel.JPRABooleanSet.of().
| Modifier and Type | Method and Description |
|---|---|
static JPRATypeModel.JPRABooleanSet |
copyOf(JPRATypeModelType.JPRABooleanSetType instance)
Creates an immutable copy of a
JPRATypeModelType.JPRABooleanSetType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
JPRABooleanSet that have equal attribute values. |
int |
hashCode()
Returns a precomputed-on-construction hash code from attributes:
sizeInOctets. |
static JPRATypeModel.JPRABooleanSet |
of(int sizeInOctets)
Construct a new immutable
JPRABooleanSet instance. |
int |
sizeInOctets() |
String |
toString()
Prints the immutable value
JPRABooleanSet... with all non-generated
and non-auxiliary attribute values. |
JPRATypeModel.JPRABooleanSet |
withSizeInOctets(int value)
Copy the current immutable object by setting a value for the
sizeInOctets attribute. |
matchTypepublic int sizeInOctets()
sizeInOctets attributepublic final JPRATypeModel.JPRABooleanSet withSizeInOctets(int value)
sizeInOctets attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for sizeInOctetsthis objectpublic boolean equals(Object another)
JPRABooleanSet that have equal attribute values.public int hashCode()
sizeInOctets.public String toString()
JPRABooleanSet... with all non-generated
and non-auxiliary attribute values.public static JPRATypeModel.JPRABooleanSet of(int sizeInOctets)
JPRABooleanSet instance.sizeInOctets - The value for the sizeInOctets attributepublic static JPRATypeModel.JPRABooleanSet copyOf(JPRATypeModelType.JPRABooleanSetType instance)
JPRATypeModelType.JPRABooleanSetType 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 copyCopyright © 2016 <code@io7m.com> http://io7m.com