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