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