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