S - A phantom type parameter indicating the coordinate space of the
volumePVolumeSizeBDType<S>, VolumeSizeValuesBDTypepublic final class PVolumeSizeBD<S> extends java.lang.Object implements PVolumeSizeBDType<S>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PVolumeSizeBD.Builder<S> |
Builds instances of type
PVolumeSizeBD. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PVolumeSizeBD.Builder<S> |
builder() |
Creates a builder for
PVolumeSizeBD. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
PVolumeSizeBD that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
sizeX, sizeY, sizeZ. |
static <S> PVolumeSizeBD<S> |
of(java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY,
java.math.BigDecimal sizeZ) |
Construct a new immutable
PVolumeSizeBD instance. |
java.math.BigDecimal |
sizeX() |
|
java.math.BigDecimal |
sizeY() |
|
java.math.BigDecimal |
sizeZ() |
|
java.lang.String |
toString() |
Prints the immutable value
PVolumeSizeBD with attribute values. |
public java.math.BigDecimal sizeX()
sizeX in interface PVolumeSizeBDType<S>sizeX in interface VolumeSizeValuesBDTypesizeX attributepublic java.math.BigDecimal sizeY()
sizeY in interface PVolumeSizeBDType<S>sizeY in interface VolumeSizeValuesBDTypesizeY attributepublic java.math.BigDecimal sizeZ()
sizeZ in interface PVolumeSizeBDType<S>sizeZ in interface VolumeSizeValuesBDTypesizeZ attributepublic boolean equals(java.lang.Object another)
PVolumeSizeBD 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()
PVolumeSizeBD with attribute values.toString in class java.lang.Objectpublic static <S> PVolumeSizeBD<S> of(java.math.BigDecimal sizeX, java.math.BigDecimal sizeY, java.math.BigDecimal sizeZ)
PVolumeSizeBD instance.sizeX - The value for the sizeX attributesizeY - The value for the sizeY attributesizeZ - The value for the sizeZ attributepublic static <S> PVolumeSizeBD.Builder<S> builder()
PVolumeSizeBD.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com