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