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