public class Point3DInt extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
x
The x coordinate.
|
int |
y
The y coordinate.
|
int |
z
The z coordinate.
|
| Constructor and Description |
|---|
Point3DInt(int x,
int y,
int z)
Construct a Point3DInt with the specified coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Comparison operator for hashing.
|
int |
hashCode()
hashcode for hashing.
|
private static int |
rotateLeft(int i,
int distance)
Integer.rotateLeft doesn't exist until Java 1.5, so we have to
implement it.
|
String |
toString()
Returns a String representation of this point.
|
public int x
public int y
public int z
public Point3DInt(int x,
int y,
int z)
public String toString()
public boolean equals(Object o)
private static int rotateLeft(int i,
int distance)