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