summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/Tuple4d.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javax/vecmath/Tuple4d.java')
-rw-r--r--src/javax/vecmath/Tuple4d.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javax/vecmath/Tuple4d.java b/src/javax/vecmath/Tuple4d.java
index 442e2f3..f06bf7d 100644
--- a/src/javax/vecmath/Tuple4d.java
+++ b/src/javax/vecmath/Tuple4d.java
@@ -364,6 +364,7 @@ public abstract class Tuple4d implements java.io.Serializable, Cloneable {
* The form is (x,y,z,w).
* @return the String representation
*/
+ @Override
public String toString() {
return "(" + this.x + ", " + this.y + ", " + this.z + ", " + this.w + ")";
}
@@ -391,6 +392,7 @@ public abstract class Tuple4d 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 {
@@ -447,6 +449,7 @@ public abstract class Tuple4d 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 + VecMathUtil.doubleToLongBits(x);
@@ -755,6 +758,7 @@ public abstract class Tuple4d 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 {