@Generated(value={"Immutables.generator","JCameraRotationCoefficientsType"}) public final class JCameraRotationCoefficients extends Object implements JCameraRotationCoefficientsType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCameraRotationCoefficients.Builder
Builds instances of type
JCameraRotationCoefficients. |
| Modifier and Type | Method and Description |
|---|---|
static JCameraRotationCoefficients.Builder |
builder()
Creates a builder for
JCameraRotationCoefficients. |
static JCameraRotationCoefficients |
copyOf(JCameraRotationCoefficientsType instance)
Creates an immutable copy of a
JCameraRotationCoefficientsType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCameraRotationCoefficients that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
horizontal, vertical. |
double |
horizontal() |
static JCameraRotationCoefficients |
of(double horizontal,
double vertical)
Construct a new immutable
JCameraRotationCoefficients instance. |
String |
toString()
Prints the immutable value
JCameraRotationCoefficients with attribute values. |
double |
vertical() |
JCameraRotationCoefficients |
withHorizontal(double value)
Copy the current immutable object by setting a value for the
horizontal attribute. |
JCameraRotationCoefficients |
withVertical(double value)
Copy the current immutable object by setting a value for the
vertical attribute. |
public double horizontal()
horizontal in interface JCameraRotationCoefficientsTypepublic double vertical()
vertical in interface JCameraRotationCoefficientsTypepublic final JCameraRotationCoefficients withHorizontal(double value)
horizontal attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for horizontalthis objectpublic final JCameraRotationCoefficients withVertical(double value)
vertical attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for verticalthis objectpublic boolean equals(Object another)
JCameraRotationCoefficients that have equal attribute values.public int hashCode()
horizontal, vertical.public String toString()
JCameraRotationCoefficients with attribute values.public static JCameraRotationCoefficients of(double horizontal, double vertical)
JCameraRotationCoefficients instance.horizontal - The value for the horizontal attributevertical - The value for the vertical attributepublic static JCameraRotationCoefficients copyOf(JCameraRotationCoefficientsType instance)
JCameraRotationCoefficientsType 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 JCameraRotationCoefficients.Builder builder()
JCameraRotationCoefficients.Copyright © 2017 <code@io7m.com> http://io7m.com