VolumeSizeValuesLType, VolumeLType, VolumeValuesLTypepublic final class VolumeL extends java.lang.Object implements VolumeLType
A volume with long coordinates.
The coordinates of the area are given in half-closed form. That is,
minimumX() refers to the minimum inclusive value on the X
axis, and maximumX() refers to the maximum exclusive value on
the X axis. Likewise for the Y and Z axes.
| Modifier and Type | Class | Description |
|---|---|---|
static class |
VolumeL.Builder |
Builds instances of type
VolumeL. |
| Modifier and Type | Method | Description |
|---|---|---|
static VolumeL.Builder |
builder() |
Creates a builder for
VolumeL. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
VolumeL that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ. |
long |
maximumX() |
|
long |
maximumY() |
|
long |
maximumZ() |
|
long |
minimumX() |
|
long |
minimumY() |
|
long |
minimumZ() |
|
static VolumeL |
of(long minimumX,
long maximumX,
long minimumY,
long maximumY,
long minimumZ,
long maximumZ) |
Construct a new immutable
VolumeL instance. |
java.lang.String |
toString() |
Prints the immutable value
VolumeL with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionssizeX, sizeY, sizeZpublic long minimumX()
minimumX in interface VolumeLTypeminimumX in interface VolumeValuesLTypeminimumX attributepublic long maximumX()
maximumX in interface VolumeLTypemaximumX in interface VolumeValuesLTypemaximumX attributepublic long minimumY()
minimumY in interface VolumeLTypeminimumY in interface VolumeValuesLTypeminimumY attributepublic long maximumY()
maximumY in interface VolumeLTypemaximumY in interface VolumeValuesLTypemaximumY attributepublic long minimumZ()
minimumZ in interface VolumeLTypeminimumZ in interface VolumeValuesLTypeminimumZ attributepublic long maximumZ()
maximumZ in interface VolumeLTypemaximumZ in interface VolumeValuesLTypemaximumZ attributepublic boolean equals(java.lang.Object another)
VolumeL that have equal attribute values.equals in class java.lang.Objecttrue if this is equal to another instancepublic int hashCode()
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ.hashCode in class java.lang.Objectpublic java.lang.String toString()
VolumeL with attribute values.toString in class java.lang.Objectpublic static VolumeL of(long minimumX, long maximumX, long minimumY, long maximumY, long minimumZ, long maximumZ)
VolumeL instance.minimumX - The value for the minimumX attributemaximumX - The value for the maximumX attributeminimumY - The value for the minimumY attributemaximumY - The value for the maximumY attributeminimumZ - The value for the minimumZ attributemaximumZ - The value for the maximumZ attributepublic static VolumeL.Builder builder()
VolumeL.Copyright © 2017 <code@io7m.com> http://io7m.com