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