diff options
Diffstat (limited to 'src/javax/vecmath/Tuple2f.java')
-rw-r--r-- | src/javax/vecmath/Tuple2f.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javax/vecmath/Tuple2f.java b/src/javax/vecmath/Tuple2f.java index 58fb445..3071485 100644 --- a/src/javax/vecmath/Tuple2f.java +++ b/src/javax/vecmath/Tuple2f.java @@ -289,6 +289,7 @@ public abstract class Tuple2f 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)VecMathUtil.floatToIntBits(x); @@ -319,6 +320,7 @@ public abstract class Tuple2f implements java.io.Serializable, Cloneable { * @param t1 the object with which the comparison is made * @return true or false */ + @Override public boolean equals(Object t1) { try { @@ -359,6 +361,7 @@ public abstract class Tuple2f implements java.io.Serializable, Cloneable { * The form is (x,y). * @return the String representation */ + @Override public String toString() { return("(" + this.x + ", " + this.y + ")"); @@ -543,6 +546,7 @@ public abstract class Tuple2f 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 { |