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