AreaSizeLType, AreaSizeValuesLTypepublic final class AreaSizeL extends java.lang.Object implements AreaSizeLType
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AreaSizeL.Builder |
Builds instances of type
AreaSizeL. |
| Modifier and Type | Method | Description |
|---|---|---|
static AreaSizeL.Builder |
builder() |
Creates a builder for
AreaSizeL. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
AreaSizeL that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
sizeX, sizeY. |
long |
height() |
Deprecated.
Use
sizeY() |
static AreaSizeL |
of(long sizeX,
long sizeY) |
Construct a new immutable
AreaSizeL instance. |
long |
sizeX() |
|
long |
sizeY() |
|
java.lang.String |
toString() |
Prints the immutable value
AreaSizeL with attribute values. |
long |
width() |
Deprecated.
Use
sizeX() |
public long sizeX()
sizeX in interface AreaSizeLTypesizeX in interface AreaSizeValuesLTypesizeX attributepublic long sizeY()
sizeY in interface AreaSizeLTypesizeY in interface AreaSizeValuesLTypesizeY 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)
AreaSizeL 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()
AreaSizeL with attribute values.toString in class java.lang.Objectpublic static AreaSizeL of(long sizeX, long sizeY)
AreaSizeL instance.sizeX - The value for the sizeX attributesizeY - The value for the sizeY attributepublic static AreaSizeL.Builder builder()
AreaSizeL.Copyright © 2017 <code@io7m.com> http://io7m.com