S - A phantom type parameter indicating the coordinate space of the
volumePVolumeSizeBIType<S>, VolumeSizeValuesBITypepublic final class PVolumeSizeBI<S> extends java.lang.Object implements PVolumeSizeBIType<S>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PVolumeSizeBI.Builder<S> |
Builds instances of type
PVolumeSizeBI. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PVolumeSizeBI.Builder<S> |
builder() |
Creates a builder for
PVolumeSizeBI. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
PVolumeSizeBI that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
sizeX, sizeY, sizeZ. |
static <S> PVolumeSizeBI<S> |
of(java.math.BigInteger sizeX,
java.math.BigInteger sizeY,
java.math.BigInteger sizeZ) |
Construct a new immutable
PVolumeSizeBI instance. |
java.math.BigInteger |
sizeX() |
|
java.math.BigInteger |
sizeY() |
|
java.math.BigInteger |
sizeZ() |
|
java.lang.String |
toString() |
Prints the immutable value
PVolumeSizeBI with attribute values. |
public java.math.BigInteger sizeX()
sizeX in interface PVolumeSizeBIType<S>sizeX in interface VolumeSizeValuesBITypesizeX attributepublic java.math.BigInteger sizeY()
sizeY in interface PVolumeSizeBIType<S>sizeY in interface VolumeSizeValuesBITypesizeY attributepublic java.math.BigInteger sizeZ()
sizeZ in interface PVolumeSizeBIType<S>sizeZ in interface VolumeSizeValuesBITypesizeZ attributepublic boolean equals(java.lang.Object another)
PVolumeSizeBI that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
sizeX, sizeY, sizeZ.hashCode in class java.lang.Objectpublic java.lang.String toString()
PVolumeSizeBI with attribute values.toString in class java.lang.Objectpublic static <S> PVolumeSizeBI<S> of(java.math.BigInteger sizeX, java.math.BigInteger sizeY, java.math.BigInteger sizeZ)
PVolumeSizeBI instance.sizeX - The value for the sizeX attributesizeY - The value for the sizeY attributesizeZ - The value for the sizeZ attributepublic static <S> PVolumeSizeBI.Builder<S> builder()
PVolumeSizeBI.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com