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