@Generated(value={"Immutables.generator","AreaSizeIType"}) public final class AreaSizeI extends Object implements AreaSizeIType
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaSizeI.Builder
Builds instances of type
AreaSizeI. |
| Modifier and Type | Method and Description |
|---|---|
static AreaSizeI.Builder |
builder()
Creates a builder for
AreaSizeI. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaSizeI that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
sizeX, sizeY. |
int |
height()
Deprecated.
Use
sizeY() |
static AreaSizeI |
of(int sizeX,
int sizeY)
Construct a new immutable
AreaSizeI instance. |
int |
sizeX() |
int |
sizeY() |
String |
toString()
Prints the immutable value
AreaSizeI with attribute values. |
int |
width()
Deprecated.
Use
sizeX() |
public int sizeX()
sizeX in interface AreaSizeITypesizeX in interface AreaSizeValuesITypesizeX attributepublic int sizeY()
sizeY in interface AreaSizeITypesizeY 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)
AreaSizeI that have equal attribute values.public int hashCode()
sizeX, sizeY.public String toString()
AreaSizeI with attribute values.public static AreaSizeI of(int sizeX, int sizeY)
AreaSizeI instance.sizeX - The value for the sizeX attributesizeY - The value for the sizeY attributepublic static AreaSizeI.Builder builder()
AreaSizeI.Copyright © 2017 <code@io7m.com> http://io7m.com