public class DeviceRotation
extends java.lang.Object
Constructor and Description |
---|
DeviceRotation(int x,
int y,
int z)
Instantiate a DeviceRotation object based on three integers.
|
DeviceRotation(java.util.Map<java.lang.String,java.lang.Number> map)
Instantiate a DeviceRotation object based on a
HashMap object where the keys are the axis x, y, and z respectively:
x : xVal
y : yVal
z : zVal
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getX() |
int |
getY() |
int |
getZ() |
java.util.Map<java.lang.String,java.lang.Integer> |
parameters() |
public DeviceRotation(int x, int y, int z)
x
- y
- z
- public DeviceRotation(java.util.Map<java.lang.String,java.lang.Number> map)
map
- public int getX()
public int getY()
public int getZ()
public java.util.Map<java.lang.String,java.lang.Integer> parameters()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object