S - A phantom type parameter indicating the coordinate space of the
volumePVolumeBIType<S>, VolumeSizeValuesBIType, VolumeValuesBITypepublic final class PVolumeBI<S> extends java.lang.Object implements PVolumeBIType<S>
A volume with BigInteger 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 |
PVolumeBI.Builder<S> |
Builds instances of type
PVolumeBI. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PVolumeBI.Builder<S> |
builder() |
Creates a builder for
PVolumeBI. |
boolean |
equals(java.lang.Object another) |
This instance is equal to all instances of
PVolumeBI that have equal attribute values. |
int |
hashCode() |
Computes a hash code from attributes:
minimumX, maximumX, minimumY, maximumY, minimumZ, maximumZ. |
java.math.BigInteger |
maximumX() |
|
java.math.BigInteger |
maximumY() |
|
java.math.BigInteger |
maximumZ() |
|
java.math.BigInteger |
minimumX() |
|
java.math.BigInteger |
minimumY() |
|
java.math.BigInteger |
minimumZ() |
|
static <S> PVolumeBI<S> |
of(java.math.BigInteger minimumX,
java.math.BigInteger maximumX,
java.math.BigInteger minimumY,
java.math.BigInteger maximumY,
java.math.BigInteger minimumZ,
java.math.BigInteger maximumZ) |
Construct a new immutable
PVolumeBI instance. |
java.lang.String |
toString() |
Prints the immutable value
PVolumeBI with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckPreconditionssizeX, sizeY, sizeZpublic java.math.BigInteger minimumX()
minimumX in interface PVolumeBIType<S>minimumX in interface VolumeValuesBITypeminimumX attributepublic java.math.BigInteger maximumX()
maximumX in interface PVolumeBIType<S>maximumX in interface VolumeValuesBITypemaximumX attributepublic java.math.BigInteger minimumY()
minimumY in interface PVolumeBIType<S>minimumY in interface VolumeValuesBITypeminimumY attributepublic java.math.BigInteger maximumY()
maximumY in interface PVolumeBIType<S>maximumY in interface VolumeValuesBITypemaximumY attributepublic java.math.BigInteger minimumZ()
minimumZ in interface PVolumeBIType<S>minimumZ in interface VolumeValuesBITypeminimumZ attributepublic java.math.BigInteger maximumZ()
maximumZ in interface PVolumeBIType<S>maximumZ in interface VolumeValuesBITypemaximumZ attributepublic boolean equals(java.lang.Object another)
PVolumeBI 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()
PVolumeBI with attribute values.toString in class java.lang.Objectpublic static <S> PVolumeBI<S> of(java.math.BigInteger minimumX, java.math.BigInteger maximumX, java.math.BigInteger minimumY, java.math.BigInteger maximumY, java.math.BigInteger minimumZ, java.math.BigInteger maximumZ)
PVolumeBI 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> PVolumeBI.Builder<S> builder()
PVolumeBI.S - generic parameter SCopyright © 2017 <code@io7m.com> http://io7m.com