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