S - A phantom type parameter indicating the coordinate space of the
areaPAreaSizeBDType<S>, AreaSizeValuesBDTypepublic final class PAreaSizeBD<S> extends java.lang.Object implements PAreaSizeBDType<S>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PAreaSizeBD.Builder<S> |
Builds instances of type
PAreaSizeBD. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PAreaSizeBD.Builder<S> |
builder() |
Creates a builder for
PAreaSizeBD. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
PAreaSizeBD that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
sizeX, sizeY. |
java.math.BigDecimal |
height() |
Deprecated.
Use
sizeY() |
static <S> PAreaSizeBD<S> |
of(java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Construct a new immutable
PAreaSizeBD instance. |
java.math.BigDecimal |
sizeX() |
|
java.math.BigDecimal |
sizeY() |
|
java.lang.String |
toString() |
Prints the immutable value
PAreaSizeBD with attribute values. |
java.math.BigDecimal |
width() |
Deprecated.
Use
sizeX() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionspublic java.math.BigDecimal sizeX()
sizeX in interface AreaSizeValuesBDTypesizeX in interface PAreaSizeBDType<S>sizeX attributepublic java.math.BigDecimal sizeY()
sizeY in interface AreaSizeValuesBDTypesizeY in interface PAreaSizeBDType<S>sizeY attribute@Deprecated public java.math.BigDecimal width()
sizeX()width in interface AreaSizeValuesBDType@Deprecated public java.math.BigDecimal height()
sizeY()height in interface AreaSizeValuesBDTypepublic boolean equals(java.lang.Object another)
PAreaSizeBD that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
sizeX, sizeY.hashCode in class java.lang.Objectpublic java.lang.String toString()
PAreaSizeBD with attribute values.toString in class java.lang.Objectpublic static <S> PAreaSizeBD<S> of(java.math.BigDecimal sizeX, java.math.BigDecimal sizeY)
PAreaSizeBD instance.sizeX - The value for the sizeX attributesizeY - The value for the sizeY attributepublic static <S> PAreaSizeBD.Builder<S> builder()
PAreaSizeBD.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com