@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 attribute values. |
AreaInclusiveL |
withRangeX(com.io7m.jranges.RangeInclusiveL rangeX)
Copy the current immutable object by setting a value for the
rangeX attribute. |
AreaInclusiveL |
withRangeY(com.io7m.jranges.RangeInclusiveL rangeY)
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 rangeX)
rangeX attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.rangeX - A new value for rangeXthis objectpublic final AreaInclusiveL withRangeY(com.io7m.jranges.RangeInclusiveL rangeY)
rangeY attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.rangeY - 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 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 © 2017 <code@io7m.com> http://io7m.com