public static final class JPRATypeModel.JPRAIntegerSignedNormalized extends JPRATypeModelType.JPRAIntegerSignedNormalizedType
jpra signed normalized integer types.| Modifier and Type | Method and Description |
|---|---|
static JPRATypeModel.JPRAIntegerSignedNormalized |
copyOf(JPRATypeModelType.JPRAIntegerSignedNormalizedType instance)
Creates an immutable copy of a
JPRATypeModelType.JPRAIntegerSignedNormalizedType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
JPRAIntegerSignedNormalized that have equal attribute values. |
int |
hashCode()
Returns a precomputed-on-construction hash code from attributes:
sizeInBits. |
static JPRATypeModel.JPRAIntegerSignedNormalized |
of(int sizeInBits)
Construct a new immutable
JPRAIntegerSignedNormalized instance. |
int |
sizeInBits() |
String |
toString()
Prints the immutable value
JPRAIntegerSignedNormalized with attribute values. |
JPRATypeModel.JPRAIntegerSignedNormalized |
withSizeInBits(int value)
Copy the current immutable object by setting a value for the
sizeInBits attribute. |
matchScalar, matchTypepublic int sizeInBits()
sizeInBits attributepublic final JPRATypeModel.JPRAIntegerSignedNormalized 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)
JPRAIntegerSignedNormalized that have equal attribute values.public int hashCode()
sizeInBits.public String toString()
JPRAIntegerSignedNormalized with attribute values.public static JPRATypeModel.JPRAIntegerSignedNormalized of(int sizeInBits)
JPRAIntegerSignedNormalized instance.sizeInBits - The value for the sizeInBits attributepublic static JPRATypeModel.JPRAIntegerSignedNormalized copyOf(JPRATypeModelType.JPRAIntegerSignedNormalizedType instance)
JPRATypeModelType.JPRAIntegerSignedNormalizedType 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 © 2017 <code@io7m.com> http://io7m.com