@Generated(value={"Immutables.generator","AreaInclusiveUnsignedIType"}) public final class AreaInclusiveUnsignedI extends Object implements AreaInclusiveUnsignedIType
AreaInclusiveUnsignedIType.
Use the static factory method to create immutable instances:
AreaInclusiveUnsignedI.of().
| Modifier and Type | Method and Description |
|---|---|
static AreaInclusiveUnsignedI |
copyOf(AreaInclusiveUnsignedIType instance)
Creates an immutable copy of a
AreaInclusiveUnsignedIType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaInclusiveUnsignedI that have equal attribute values. |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveI |
getRangeX() |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveI |
getRangeY() |
int |
hashCode()
Returns a precomputed-on-construction hash code from attributes:
rangeX, rangeY. |
static AreaInclusiveUnsignedI |
of(com.io7m.junsigned.ranges.UnsignedRangeInclusiveI rangeX,
com.io7m.junsigned.ranges.UnsignedRangeInclusiveI rangeY)
Construct a new immutable
AreaInclusiveUnsignedI instance. |
String |
toString()
Prints the immutable value
AreaInclusiveUnsignedI... with all non-generated
and non-auxiliary attribute values. |
AreaInclusiveUnsignedI |
withRangeX(com.io7m.junsigned.ranges.UnsignedRangeInclusiveI value)
Copy the current immutable object by setting a value for the
rangeX attribute. |
AreaInclusiveUnsignedI |
withRangeY(com.io7m.junsigned.ranges.UnsignedRangeInclusiveI value)
Copy the current immutable object by setting a value for the
rangeY attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisIncludedInpublic com.io7m.junsigned.ranges.UnsignedRangeInclusiveI getRangeX()
getRangeX in interface AreaInclusiveUnsignedITypeX axispublic com.io7m.junsigned.ranges.UnsignedRangeInclusiveI getRangeY()
getRangeY in interface AreaInclusiveUnsignedITypeY axispublic final AreaInclusiveUnsignedI withRangeX(com.io7m.junsigned.ranges.UnsignedRangeInclusiveI value)
rangeX attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for rangeXthis objectpublic final AreaInclusiveUnsignedI withRangeY(com.io7m.junsigned.ranges.UnsignedRangeInclusiveI value)
rangeY attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for rangeYthis objectpublic boolean equals(Object another)
AreaInclusiveUnsignedI that have equal attribute values.public int hashCode()
rangeX, rangeY.public String toString()
AreaInclusiveUnsignedI... with all non-generated
and non-auxiliary attribute values.public static AreaInclusiveUnsignedI of(com.io7m.junsigned.ranges.UnsignedRangeInclusiveI rangeX, com.io7m.junsigned.ranges.UnsignedRangeInclusiveI rangeY)
AreaInclusiveUnsignedI instance.rangeX - The value for the rangeX attributerangeY - The value for the rangeY attributepublic static AreaInclusiveUnsignedI copyOf(AreaInclusiveUnsignedIType instance)
AreaInclusiveUnsignedIType 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 © 2015 <code@io7m.com> http://io7m.com