@Generated(value={"Immutables.generator","SMFCoordinateSystemType"}) public final class SMFCoordinateSystem extends Object implements SMFCoordinateSystemType
| Modifier and Type | Class and Description |
|---|---|
static class |
SMFCoordinateSystem.Builder
Builds instances of type
SMFCoordinateSystem. |
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jcoords.core.conversion.CAxisSystem |
axes() |
static SMFCoordinateSystem.Builder |
builder()
Creates a builder for
SMFCoordinateSystem. |
static SMFCoordinateSystem |
copyOf(SMFCoordinateSystemType instance)
Creates an immutable copy of a
SMFCoordinateSystemType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SMFCoordinateSystem that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
axes, windingOrder. |
static SMFCoordinateSystem |
of(com.io7m.jcoords.core.conversion.CAxisSystem axes,
SMFFaceWindingOrder windingOrder)
Construct a new immutable
SMFCoordinateSystem instance. |
String |
toHumanString() |
String |
toString()
Prints the immutable value
SMFCoordinateSystem with attribute values. |
SMFFaceWindingOrder |
windingOrder() |
SMFCoordinateSystem |
withAxes(com.io7m.jcoords.core.conversion.CAxisSystem value)
Copy the current immutable object by setting a value for the
axes attribute. |
SMFCoordinateSystem |
withWindingOrder(SMFFaceWindingOrder value)
Copy the current immutable object by setting a value for the
windingOrder attribute. |
public com.io7m.jcoords.core.conversion.CAxisSystem axes()
axes in interface SMFCoordinateSystemTypepublic SMFFaceWindingOrder windingOrder()
windingOrder in interface SMFCoordinateSystemTypepublic final SMFCoordinateSystem withAxes(com.io7m.jcoords.core.conversion.CAxisSystem value)
axes attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for axesthis objectpublic final SMFCoordinateSystem withWindingOrder(SMFFaceWindingOrder value)
windingOrder attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for windingOrderthis objectpublic boolean equals(Object another)
SMFCoordinateSystem that have equal attribute values.public int hashCode()
axes, windingOrder.public String toString()
SMFCoordinateSystem with attribute values.public String toHumanString()
Returns a lazily initialized value of the toHumanString attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
toHumanString in interface SMFCoordinateSystemTypel.name attributepublic static SMFCoordinateSystem of(com.io7m.jcoords.core.conversion.CAxisSystem axes, SMFFaceWindingOrder windingOrder)
SMFCoordinateSystem instance.axes - The value for the axes attributewindingOrder - The value for the windingOrder attributepublic static SMFCoordinateSystem copyOf(SMFCoordinateSystemType instance)
SMFCoordinateSystemType 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 SMFCoordinateSystem.Builder builder()
SMFCoordinateSystem.Copyright © 2017 <code@io7m.com> http://io7m.com