diff options
author | Harvey Harrison <[email protected]> | 2013-07-10 09:08:10 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-07-10 09:08:10 -0700 |
commit | ae0eabff70c9b63eac241b9f30bd389356cfb220 (patch) | |
tree | 2eec48b493a6426ab807267b6738b18cfa422bc0 /src/javax/vecmath/Tuple3f.java | |
parent | e6c6d02057eaf3ce38fb0d99ec614d2e38788a6b (diff) |
vecmath: add @Override annotations to overridden methods
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/javax/vecmath/Tuple3f.java')
-rw-r--r-- | src/javax/vecmath/Tuple3f.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javax/vecmath/Tuple3f.java b/src/javax/vecmath/Tuple3f.java index 7c255da..d4be6a9 100644 --- a/src/javax/vecmath/Tuple3f.java +++ b/src/javax/vecmath/Tuple3f.java @@ -118,6 +118,7 @@ public abstract class Tuple3f 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 + ")"; } @@ -351,6 +352,7 @@ public abstract class Tuple3f 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 { @@ -400,6 +402,7 @@ public abstract class Tuple3f 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); @@ -624,6 +627,7 @@ public abstract class Tuple3f 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 { |