@Generated(value={"Immutables.generator","AreaSizeBDType"}) public final class AreaSizeBD extends Object implements AreaSizeBDType
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaSizeBD.Builder
Builds instances of type
AreaSizeBD. |
| Modifier and Type | Method and Description |
|---|---|
static AreaSizeBD.Builder |
builder()
Creates a builder for
AreaSizeBD. |
boolean |
equals(Object another)
This instance is equal to all instances of
AreaSizeBD that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
width, height. |
BigDecimal |
height() |
static AreaSizeBD |
of(BigDecimal width,
BigDecimal height)
Construct a new immutable
AreaSizeBD instance. |
String |
toString()
Prints the immutable value
AreaSizeBD with attribute values. |
BigDecimal |
width() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionspublic BigDecimal width()
width in interface AreaSizeBDTypewidth in interface AreaSizeValuesBDTypewidth attributepublic BigDecimal height()
height in interface AreaSizeBDTypeheight in interface AreaSizeValuesBDTypeheight attributepublic boolean equals(Object another)
AreaSizeBD that have equal attribute values.public int hashCode()
width, height.public String toString()
AreaSizeBD with attribute values.public static AreaSizeBD of(BigDecimal width, BigDecimal height)
AreaSizeBD instance.width - The value for the width attributeheight - The value for the height attributepublic static AreaSizeBD.Builder builder()
AreaSizeBD.Copyright © 2017 <code@io7m.com> http://io7m.com