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