@Generated(value={"Immutables.generator","AreaBIType"}) public final class AreaBI extends Object implements AreaBIType
An area with BigInteger coordinates.
The coordinates of the area are given in half-closed form. That is,
minimumX() refers to the minimum inclusive value on the X
axis, and maximumX() refers to the maximum exclusive value on
the X axis. Likewise for the Y axis.
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaBI.Builder
Builds instances of type
AreaBI. |
| Modifier and Type | Method and Description |
|---|---|
static AreaBI.Builder |
builder()
Creates a builder for
AreaBI. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaBI that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY. |
BigInteger |
height()
Deprecated.
|
BigInteger |
maximumX() |
BigInteger |
maximumY() |
BigInteger |
minimumX() |
BigInteger |
minimumY() |
static AreaBI |
of(BigInteger minimumX,
BigInteger maximumX,
BigInteger minimumY,
BigInteger maximumY)
Construct a new immutable
AreaBI instance. |
String |
toString()
Prints the immutable value
AreaBI with attribute values. |
BigInteger |
width()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionssizeX, sizeYpublic BigInteger minimumX()
minimumX in interface AreaBITypeminimumX in interface AreaValuesBITypeminimumX attributepublic BigInteger maximumX()
maximumX in interface AreaBITypemaximumX in interface AreaValuesBITypemaximumX attributepublic BigInteger minimumY()
minimumY in interface AreaBITypeminimumY in interface AreaValuesBITypeminimumY attributepublic BigInteger maximumY()
maximumY in interface AreaBITypemaximumY in interface AreaValuesBITypemaximumY attribute@Deprecated public BigInteger width()
AreaValuesBIType.sizeX()width in interface AreaSizeValuesBIType@Deprecated public BigInteger height()
AreaValuesBIType.sizeY()height in interface AreaSizeValuesBITypepublic boolean equals(Object another)
AreaBI that have equal attribute values.public int hashCode()
minimumX, maximumX, minimumY, maximumY.public String toString()
AreaBI with attribute values.public static AreaBI of(BigInteger minimumX, BigInteger maximumX, BigInteger minimumY, BigInteger maximumY)
AreaBI instance.minimumX - The value for the minimumX attributemaximumX - The value for the maximumX attributeminimumY - The value for the minimumY attributemaximumY - The value for the maximumY attributepublic static AreaBI.Builder builder()
AreaBI.Copyright © 2017 <code@io7m.com> http://io7m.com