AreaSizeIType, AreaSizeValuesITypepublic final class AreaSizeI extends java.lang.Object implements AreaSizeIType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AreaSizeI.Builder |
Builds instances of type
AreaSizeI. |
| Modifier and Type | Method | Description |
|---|---|---|
static AreaSizeI.Builder |
builder() |
Creates a builder for
AreaSizeI. |
boolean |
equals(java.lang.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() |
|
java.lang.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(java.lang.Object another)
AreaSizeI 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()
AreaSizeI with attribute values.toString in class java.lang.Objectpublic 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