S - A phantom type parameter indicating the coordinate space of the
area@Generated(value={"Immutables.generator","PAreaBIType<S>"}) public final class PAreaBI<S> extends Object implements PAreaBIType<S>
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 |
PAreaBI.Builder<S>
Builds instances of type
PAreaBI. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaBI.Builder<S> |
builder()
Creates a builder for
PAreaBI. |
boolean |
equals(Object another)
This instance is equal to all instances of
PAreaBI that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY. |
BigInteger |
height() |
BigInteger |
maximumX() |
BigInteger |
maximumY() |
BigInteger |
minimumX() |
BigInteger |
minimumY() |
static <S> PAreaBI<S> |
of(BigInteger minimumX,
BigInteger maximumX,
BigInteger minimumY,
BigInteger maximumY)
Construct a new immutable
PAreaBI instance. |
String |
toString()
Prints the immutable value
PAreaBI with attribute values. |
BigInteger |
width() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionspublic BigInteger minimumX()
minimumX in interface PAreaBIType<S>public BigInteger maximumX()
maximumX in interface PAreaBIType<S>public BigInteger minimumY()
minimumY in interface PAreaBIType<S>public BigInteger maximumY()
maximumY in interface PAreaBIType<S>public boolean equals(Object another)
PAreaBI that have equal attribute values.public int hashCode()
minimumX, maximumX, minimumY, maximumY.public String toString()
PAreaBI with attribute values.public BigInteger width()
Returns a lazily initialized value of the width attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
width in interface PAreaBIType<S>l.name attributepublic BigInteger height()
Returns a lazily initialized value of the height attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
height in interface PAreaBIType<S>l.name attributepublic static <S> PAreaBI<S> of(BigInteger minimumX, BigInteger maximumX, BigInteger minimumY, BigInteger maximumY)
PAreaBI 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 <S> PAreaBI.Builder<S> builder()
PAreaBI.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com