S - A phantom type parameter indicating the coordinate space of the
areaPAreaSizeLType<S>, AreaSizeValuesLTypepublic final class PAreaSizeL<S> extends java.lang.Object implements PAreaSizeLType<S>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PAreaSizeL.Builder<S> |
Builds instances of type
PAreaSizeL. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PAreaSizeL.Builder<S> |
builder() |
Creates a builder for
PAreaSizeL. |
boolean |
equals(java.lang.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() |
|
java.lang.String |
toString() |
Prints the immutable value
PAreaSizeL with attribute values. |
long |
width() |
Deprecated.
Use
sizeX() |
public long sizeX()
sizeX in interface AreaSizeValuesLTypesizeX in interface PAreaSizeLType<S>sizeX attributepublic long sizeY()
sizeY in interface AreaSizeValuesLTypesizeY in interface PAreaSizeLType<S>sizeY attribute@Deprecated public long width()
sizeX()width in interface AreaSizeValuesLType@Deprecated public long height()
sizeY()height in interface AreaSizeValuesLTypepublic boolean equals(java.lang.Object another)
PAreaSizeL 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()
PAreaSizeL with attribute values.toString in class java.lang.Objectpublic 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