S - A phantom type parameter indicating the coordinate space of the
volume@Generated(value={"Immutables.generator","PVolumeLType<S>"}) public final class PVolumeL<S> extends Object implements PVolumeLType<S>
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 and Description |
|---|---|
static class |
PVolumeL.Builder<S>
Builds instances of type
PVolumeL. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PVolumeL.Builder<S> |
builder()
Creates a builder for
PVolumeL. |
boolean |
equals(Object another)
This instance is equal to all instances of
PVolumeL 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 <S> PVolumeL<S> |
of(long minimumX,
long maximumX,
long minimumY,
long maximumY,
long minimumZ,
long maximumZ)
Construct a new immutable
PVolumeL instance. |
String |
toString()
Prints the immutable value
PVolumeL with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionssizeX, sizeY, sizeZpublic long minimumX()
minimumX in interface PVolumeLType<S>minimumX in interface VolumeValuesLTypeminimumX attributepublic long maximumX()
maximumX in interface PVolumeLType<S>maximumX in interface VolumeValuesLTypemaximumX attributepublic long minimumY()
minimumY in interface PVolumeLType<S>minimumY in interface VolumeValuesLTypeminimumY attributepublic long maximumY()
maximumY in interface PVolumeLType<S>maximumY in interface VolumeValuesLTypemaximumY attributepublic long minimumZ()
minimumZ in interface PVolumeLType<S>minimumZ in interface VolumeValuesLTypeminimumZ attributepublic long maximumZ()
maximumZ in interface PVolumeLType<S>maximumZ in interface VolumeValuesLTypemaximumZ attributepublic boolean equals(Object another)
PVolumeL that have equal attribute values.public int hashCode()
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ.public String toString()
PVolumeL with attribute values.public static <S> PVolumeL<S> of(long minimumX, long maximumX, long minimumY, long maximumY, long minimumZ, long maximumZ)
PVolumeL 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 <S> PVolumeL.Builder<S> builder()
PVolumeL.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com