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