AreaBIType, AreaValuesBIType, AreaSizeValuesBITypepublic final class AreaBI extends java.lang.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 | Description |
|---|---|---|
static class |
AreaBI.Builder |
Builds instances of type
AreaBI. |
| Modifier and Type | Method | Description |
|---|---|---|
static AreaBI.Builder |
builder() |
Creates a builder for
AreaBI. |
boolean |
equals(java.lang.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. |
java.math.BigInteger |
height() |
Deprecated.
|
java.math.BigInteger |
maximumX() |
|
java.math.BigInteger |
maximumY() |
|
java.math.BigInteger |
minimumX() |
|
java.math.BigInteger |
minimumY() |
|
static AreaBI |
of(java.math.BigInteger minimumX,
java.math.BigInteger maximumX,
java.math.BigInteger minimumY,
java.math.BigInteger maximumY) |
Construct a new immutable
AreaBI instance. |
java.lang.String |
toString() |
Prints the immutable value
AreaBI with attribute values. |
java.math.BigInteger |
width() |
Deprecated.
|
checkPreconditionssizeX, sizeYpublic java.math.BigInteger minimumX()
minimumX in interface AreaBITypeminimumX in interface AreaValuesBITypeminimumX attributepublic java.math.BigInteger maximumX()
maximumX in interface AreaBITypemaximumX in interface AreaValuesBITypemaximumX attributepublic java.math.BigInteger minimumY()
minimumY in interface AreaBITypeminimumY in interface AreaValuesBITypeminimumY attributepublic java.math.BigInteger maximumY()
maximumY in interface AreaBITypemaximumY in interface AreaValuesBITypemaximumY attribute@Deprecated public java.math.BigInteger width()
AreaValuesBIType.sizeX()width in interface AreaSizeValuesBIType@Deprecated public java.math.BigInteger height()
AreaValuesBIType.sizeY()height in interface AreaSizeValuesBITypepublic boolean equals(java.lang.Object another)
AreaBI that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
minimumX, maximumX, minimumY, maximumY.hashCode in class java.lang.Objectpublic java.lang.String toString()
AreaBI with attribute values.toString in class java.lang.Objectpublic static AreaBI of(java.math.BigInteger minimumX, java.math.BigInteger maximumX, java.math.BigInteger minimumY, java.math.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