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