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