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