diff options
Diffstat (limited to 'src/javax/vecmath/Tuple4b.java')
-rw-r--r-- | src/javax/vecmath/Tuple4b.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javax/vecmath/Tuple4b.java b/src/javax/vecmath/Tuple4b.java index f0bdc85..42e6949 100644 --- a/src/javax/vecmath/Tuple4b.java +++ b/src/javax/vecmath/Tuple4b.java @@ -124,6 +124,7 @@ public abstract class Tuple4b implements java.io.Serializable, Cloneable { * Returns a string that contains the values of this Tuple4b. * @return the String representation */ + @Override public String toString() { return("(" + ((int)this.x & 0xff) + @@ -210,6 +211,7 @@ public abstract class Tuple4b implements java.io.Serializable, Cloneable { * this Tuple4b. * @param t1 the object with which the comparison is made */ + @Override public boolean equals(Object t1) { try { @@ -231,6 +233,7 @@ public abstract class Tuple4b implements java.io.Serializable, Cloneable { * same hash value, although this is not likely. * @return the integer hash code value */ + @Override public int hashCode() { return ((((int)x & 0xff) << 0) | (((int)y & 0xff) << 8) | @@ -246,6 +249,7 @@ public abstract class Tuple4b 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 { |