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