@Generated(value={"Immutables.generator","CAxisSystemType"}) public final class CAxisSystem extends Object implements CAxisSystemType
| Modifier and Type | Class and Description |
|---|---|
static class |
CAxisSystem.Builder
Builds instances of type
CAxisSystem. |
| Modifier and Type | Method and Description |
|---|---|
static CAxisSystem.Builder |
builder()
Creates a builder for
CAxisSystem. |
static CAxisSystem |
copyOf(CAxisSystemType instance)
Creates an immutable copy of a
CAxisSystemType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
CAxisSystem that have equal attribute values. |
CAxis |
forward() |
int |
hashCode()
Computes a hash code from attributes:
right, up, forward. |
static CAxisSystem |
of(CAxis right,
CAxis up,
CAxis forward)
Construct a new immutable
CAxisSystem instance. |
CAxis |
right() |
String |
toString()
Prints the immutable value
CAxisSystem with attribute values. |
CAxis |
up() |
CAxisSystem |
withForward(CAxis value)
Copy the current immutable object by setting a value for the
forward attribute. |
CAxisSystem |
withRight(CAxis value)
Copy the current immutable object by setting a value for the
right attribute. |
CAxisSystem |
withUp(CAxis value)
Copy the current immutable object by setting a value for the
up attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbasis, checkPreconditionspublic CAxis right()
right in interface CAxisSystemTypepublic CAxis up()
up in interface CAxisSystemTypepublic CAxis forward()
forward in interface CAxisSystemTypepublic final CAxisSystem withRight(CAxis value)
right attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for rightthis objectpublic final CAxisSystem withUp(CAxis value)
up attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for upthis objectpublic final CAxisSystem withForward(CAxis value)
forward attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for forwardthis objectpublic boolean equals(Object another)
CAxisSystem that have equal attribute values.public int hashCode()
right, up, forward.public String toString()
CAxisSystem with attribute values.public static CAxisSystem of(CAxis right, CAxis up, CAxis forward)
CAxisSystem instance.right - The value for the right attributeup - The value for the up attributeforward - The value for the forward attributepublic static CAxisSystem copyOf(CAxisSystemType instance)
CAxisSystemType 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 CAxisSystem.Builder builder()
CAxisSystem.Copyright © 2017 <code@io7m.com> http://io7m.com