S - A phantom type parameter indicating the coordinate space of the
area@Generated(value={"Immutables.generator","PAreaSizeDType<S>"}) public final class PAreaSizeD<S> extends Object implements PAreaSizeDType<S>
| Modifier and Type | Class and Description |
|---|---|
static class |
PAreaSizeD.Builder<S>
Builds instances of type
PAreaSizeD. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaSizeD.Builder<S> |
builder()
Creates a builder for
PAreaSizeD. |
boolean |
equals(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() |
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 PAreaSizeDType<S>sizeX in interface AreaSizeValuesDTypesizeX attributepublic double sizeY()
sizeY in interface PAreaSizeDType<S>sizeY in interface AreaSizeValuesDTypesizeY attribute@Deprecated public double width()
sizeX()width in interface AreaSizeValuesDType@Deprecated public double height()
sizeY()height in interface AreaSizeValuesDTypepublic boolean equals(Object another)
PAreaSizeD that have equal attribute values.public int hashCode()
sizeX, sizeY.public String toString()
PAreaSizeD with attribute values.public 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