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