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