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