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:
width, height. |
float |
height() |
static <S> PAreaSizeF<S> |
of(float width,
float height)
Construct a new immutable
PAreaSizeF instance. |
String |
toString()
Prints the immutable value
PAreaSizeF with attribute values. |
float |
width() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionspublic float width()
width in interface PAreaSizeFType<S>width in interface AreaSizeValuesFTypewidth attributepublic float height()
height in interface PAreaSizeFType<S>height in interface AreaSizeValuesFTypeheight attributepublic boolean equals(Object another)
PAreaSizeF that have equal attribute values.public int hashCode()
width, height.public String toString()
PAreaSizeF with attribute values.public static <S> PAreaSizeF<S> of(float width, float height)
PAreaSizeF instance.width - The value for the width attributeheight - The value for the height attributepublic static <S> PAreaSizeF.Builder<S> builder()
PAreaSizeF.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com