@Generated(value={"Immutables.generator","OctTreeConfigurationLType"}) public final class OctTreeConfigurationL extends Object implements OctTreeConfigurationLType
| Modifier and Type | Class and Description |
|---|---|
static class |
OctTreeConfigurationL.Builder
Builds instances of type
OctTreeConfigurationL. |
| Modifier and Type | Method and Description |
|---|---|
static OctTreeConfigurationL.Builder |
builder()
Creates a builder for
OctTreeConfigurationL. |
static OctTreeConfigurationL |
copyOf(OctTreeConfigurationLType instance)
Creates an immutable copy of a
OctTreeConfigurationLType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
OctTreeConfigurationL that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
volume, minimumOctantWidth, minimumOctantHeight, minimumOctantDepth, trimOnRemove. |
long |
minimumOctantDepth() |
long |
minimumOctantHeight() |
long |
minimumOctantWidth() |
static OctTreeConfigurationL |
of(com.io7m.jregions.core.unparameterized.volumes.VolumeL volume,
long minimumOctantWidth,
long minimumOctantHeight,
long minimumOctantDepth,
boolean trimOnRemove)
Construct a new immutable
OctTreeConfigurationL instance. |
String |
toString()
Prints the immutable value
OctTreeConfigurationL with attribute values. |
boolean |
trimOnRemove() |
com.io7m.jregions.core.unparameterized.volumes.VolumeL |
volume() |
OctTreeConfigurationL |
withMinimumOctantDepth(long value)
Copy the current immutable object by setting a value for the
minimumOctantDepth attribute. |
OctTreeConfigurationL |
withMinimumOctantHeight(long value)
Copy the current immutable object by setting a value for the
minimumOctantHeight attribute. |
OctTreeConfigurationL |
withMinimumOctantWidth(long value)
Copy the current immutable object by setting a value for the
minimumOctantWidth attribute. |
OctTreeConfigurationL |
withTrimOnRemove(boolean value)
Copy the current immutable object by setting a value for the
trimOnRemove attribute. |
OctTreeConfigurationL |
withVolume(com.io7m.jregions.core.unparameterized.volumes.VolumeL value)
Copy the current immutable object by setting a value for the
volume attribute. |
public com.io7m.jregions.core.unparameterized.volumes.VolumeL volume()
volume in interface OctTreeConfigurationLTypepublic long minimumOctantWidth()
minimumOctantWidth in interface OctTreeConfigurationLType>= 2)public long minimumOctantHeight()
minimumOctantHeight in interface OctTreeConfigurationLType>= 2)public long minimumOctantDepth()
minimumOctantDepth in interface OctTreeConfigurationLType>= 2)public boolean trimOnRemove()
trimOnRemove in interface OctTreeConfigurationLTypetrue iff the implementation should attempt to trim empty
leaf nodes when an item is removedpublic final OctTreeConfigurationL withVolume(com.io7m.jregions.core.unparameterized.volumes.VolumeL value)
volume attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for volumethis objectpublic final OctTreeConfigurationL withMinimumOctantWidth(long value)
minimumOctantWidth attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for minimumOctantWidththis objectpublic final OctTreeConfigurationL withMinimumOctantHeight(long value)
minimumOctantHeight attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for minimumOctantHeightthis objectpublic final OctTreeConfigurationL withMinimumOctantDepth(long value)
minimumOctantDepth attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for minimumOctantDepththis objectpublic final OctTreeConfigurationL withTrimOnRemove(boolean value)
trimOnRemove attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for trimOnRemovethis objectpublic boolean equals(Object another)
OctTreeConfigurationL that have equal attribute values.public int hashCode()
volume, minimumOctantWidth, minimumOctantHeight, minimumOctantDepth, trimOnRemove.public String toString()
OctTreeConfigurationL with attribute values.public static OctTreeConfigurationL of(com.io7m.jregions.core.unparameterized.volumes.VolumeL volume, long minimumOctantWidth, long minimumOctantHeight, long minimumOctantDepth, boolean trimOnRemove)
OctTreeConfigurationL instance.volume - The value for the volume attributeminimumOctantWidth - The value for the minimumOctantWidth attributeminimumOctantHeight - The value for the minimumOctantHeight attributeminimumOctantDepth - The value for the minimumOctantDepth attributetrimOnRemove - The value for the trimOnRemove attributepublic static OctTreeConfigurationL copyOf(OctTreeConfigurationLType instance)
OctTreeConfigurationLType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static OctTreeConfigurationL.Builder builder()
OctTreeConfigurationL.Copyright © 2017 <code@io7m.com> http://io7m.com