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