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