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