S - A phantom type parameter indicating the coordinate space of the
area@Generated(value={"Immutables.generator","PAreaSizeLType<S>"}) public final class PAreaSizeL<S> extends Object implements PAreaSizeLType<S>
| Modifier and Type | Class and Description |
|---|---|
static class |
PAreaSizeL.Builder<S>
Builds instances of type
PAreaSizeL. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaSizeL.Builder<S> |
builder()
Creates a builder for
PAreaSizeL. |
boolean |
equals(Object another)
This instance is equal to all instances of
PAreaSizeL that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
sizeX, sizeY. |
long |
height()
Deprecated.
Use
sizeY() |
static <S> PAreaSizeL<S> |
of(long sizeX,
long sizeY)
Construct a new immutable
PAreaSizeL instance. |
long |
sizeX() |
long |
sizeY() |
String |
toString()
Prints the immutable value
PAreaSizeL with attribute values. |
long |
width()
Deprecated.
Use
sizeX() |
public long sizeX()
sizeX in interface PAreaSizeLType<S>sizeX in interface AreaSizeValuesLTypesizeX attributepublic long sizeY()
sizeY in interface PAreaSizeLType<S>sizeY in interface AreaSizeValuesLTypesizeY attribute@Deprecated public long width()
sizeX()width in interface AreaSizeValuesLType@Deprecated public long height()
sizeY()height in interface AreaSizeValuesLTypepublic boolean equals(Object another)
PAreaSizeL that have equal attribute values.public int hashCode()
sizeX, sizeY.public String toString()
PAreaSizeL with attribute values.public static <S> PAreaSizeL<S> of(long sizeX, long sizeY)
PAreaSizeL instance.sizeX - The value for the sizeX attributesizeY - The value for the sizeY attributepublic static <S> PAreaSizeL.Builder<S> builder()
PAreaSizeL.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com