@Generated(value={"Immutables.generator","AreaInclusiveUnsignedLType"}) public final class AreaInclusiveUnsignedL extends Object implements AreaInclusiveUnsignedLType
AreaInclusiveUnsignedLType.
Use the static factory method to create immutable instances:
AreaInclusiveUnsignedL.of().
| Modifier and Type | Method and Description |
|---|---|
static AreaInclusiveUnsignedL |
copyOf(AreaInclusiveUnsignedLType instance)
Creates an immutable copy of a
AreaInclusiveUnsignedLType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaInclusiveUnsignedL that have equal attribute values. |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL |
getRangeX() |
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL |
getRangeY() |
int |
hashCode()
Returns a precomputed-on-construction hash code from attributes:
rangeX, rangeY. |
static AreaInclusiveUnsignedL |
of(com.io7m.junsigned.ranges.UnsignedRangeInclusiveL rangeX,
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL rangeY)
Construct a new immutable
AreaInclusiveUnsignedL instance. |
String |
toString()
Prints the immutable value
AreaInclusiveUnsignedL... with all non-generated
and non-auxiliary attribute values. |
AreaInclusiveUnsignedL |
withRangeX(com.io7m.junsigned.ranges.UnsignedRangeInclusiveL value)
Copy the current immutable object by setting a value for the
rangeX attribute. |
AreaInclusiveUnsignedL |
withRangeY(com.io7m.junsigned.ranges.UnsignedRangeInclusiveL 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.UnsignedRangeInclusiveL getRangeX()
getRangeX in interface AreaInclusiveUnsignedLTypeX axispublic com.io7m.junsigned.ranges.UnsignedRangeInclusiveL getRangeY()
getRangeY in interface AreaInclusiveUnsignedLTypeY axispublic final AreaInclusiveUnsignedL withRangeX(com.io7m.junsigned.ranges.UnsignedRangeInclusiveL 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 AreaInclusiveUnsignedL withRangeY(com.io7m.junsigned.ranges.UnsignedRangeInclusiveL 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)
AreaInclusiveUnsignedL that have equal attribute values.public int hashCode()
rangeX, rangeY.public String toString()
AreaInclusiveUnsignedL... with all non-generated
and non-auxiliary attribute values.public static AreaInclusiveUnsignedL of(com.io7m.junsigned.ranges.UnsignedRangeInclusiveL rangeX, com.io7m.junsigned.ranges.UnsignedRangeInclusiveL rangeY)
AreaInclusiveUnsignedL instance.rangeX - The value for the rangeX attributerangeY - The value for the rangeY attributepublic static AreaInclusiveUnsignedL copyOf(AreaInclusiveUnsignedLType instance)
AreaInclusiveUnsignedLType 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