diff options
Diffstat (limited to 'src/javax/vecmath/Tuple3i.java')
-rw-r--r-- | src/javax/vecmath/Tuple3i.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javax/vecmath/Tuple3i.java b/src/javax/vecmath/Tuple3i.java index 5d440cf..0d464d2 100644 --- a/src/javax/vecmath/Tuple3i.java +++ b/src/javax/vecmath/Tuple3i.java @@ -285,6 +285,7 @@ public abstract class Tuple3i implements java.io.Serializable, Cloneable { * The form is (x,y,z). * @return the String representation */ + @Override public String toString() { return "(" + this.x + ", " + this.y + ", " + this.z + ")"; } @@ -296,6 +297,7 @@ public abstract class Tuple3i implements java.io.Serializable, Cloneable { * this Tuple3i. * @param t1 the object with which the comparison is made */ + @Override public boolean equals(Object t1) { try { Tuple3i t2 = (Tuple3i) t1; @@ -318,6 +320,7 @@ public abstract class Tuple3i implements java.io.Serializable, Cloneable { * same hash value, although this is not likely. * @return the integer hash code value */ + @Override public int hashCode() { long bits = 1L; bits = 31L * bits + (long)x; @@ -502,6 +505,7 @@ public abstract class Tuple3i implements java.io.Serializable, Cloneable { * @see java.lang.Cloneable * @since vecmath 1.3 */ + @Override public Object clone() { // Since there are no arrays we can just use Object.clone() try { |