summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/javax/vecmath/AxisAngle4d.java4
-rw-r--r--src/javax/vecmath/AxisAngle4f.java4
-rw-r--r--src/javax/vecmath/GMatrix.java4
-rw-r--r--src/javax/vecmath/GVector.java4
-rw-r--r--src/javax/vecmath/Matrix3d.java4
-rw-r--r--src/javax/vecmath/Matrix3f.java4
-rw-r--r--src/javax/vecmath/Matrix4d.java4
-rw-r--r--src/javax/vecmath/Matrix4f.java4
-rw-r--r--src/javax/vecmath/Tuple2d.java4
-rw-r--r--src/javax/vecmath/Tuple2f.java4
-rw-r--r--src/javax/vecmath/Tuple2i.java4
-rw-r--r--src/javax/vecmath/Tuple3b.java4
-rw-r--r--src/javax/vecmath/Tuple3d.java4
-rw-r--r--src/javax/vecmath/Tuple3f.java4
-rw-r--r--src/javax/vecmath/Tuple3i.java4
-rw-r--r--src/javax/vecmath/Tuple4b.java4
-rw-r--r--src/javax/vecmath/Tuple4d.java4
-rw-r--r--src/javax/vecmath/Tuple4f.java4
-rw-r--r--src/javax/vecmath/Tuple4i.java4
19 files changed, 76 insertions, 0 deletions
diff --git a/src/javax/vecmath/AxisAngle4d.java b/src/javax/vecmath/AxisAngle4d.java
index 957c327..db59914 100644
--- a/src/javax/vecmath/AxisAngle4d.java
+++ b/src/javax/vecmath/AxisAngle4d.java
@@ -442,6 +442,7 @@ public class AxisAngle4d implements java.io.Serializable, Cloneable {
* The form is (x,y,z,angle).
* @return the String representation
*/
+ @Override
public String toString() {
return "(" + this.x + ", " + this.y + ", " + this.z + ", " + this.angle + ")";
}
@@ -469,6 +470,7 @@ public class AxisAngle4d implements java.io.Serializable, Cloneable {
* @param o1 the object with which the comparison is made
* @return true or false
*/
+ @Override
public boolean equals(Object o1)
{
try {
@@ -519,6 +521,7 @@ public class AxisAngle4d 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);
@@ -536,6 +539,7 @@ public class AxisAngle4d 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 {
diff --git a/src/javax/vecmath/AxisAngle4f.java b/src/javax/vecmath/AxisAngle4f.java
index c162c5a..eb16fb4 100644
--- a/src/javax/vecmath/AxisAngle4f.java
+++ b/src/javax/vecmath/AxisAngle4f.java
@@ -437,6 +437,7 @@ public class AxisAngle4f implements java.io.Serializable, Cloneable {
* The form is (x,y,z,angle).
* @return the String representation
*/
+ @Override
public String toString() {
return "(" + this.x + ", " + this.y + ", " + this.z + ", " + this.angle + ")";
}
@@ -465,6 +466,7 @@ public class AxisAngle4f implements java.io.Serializable, Cloneable {
* @param o1 the object with which the comparison is made
* @return true or false
*/
+ @Override
public boolean equals(Object o1)
{
try {
@@ -515,6 +517,7 @@ public class AxisAngle4f 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);
@@ -532,6 +535,7 @@ public class AxisAngle4f 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 {
diff --git a/src/javax/vecmath/GMatrix.java b/src/javax/vecmath/GMatrix.java
index 9e57b7d..a38d6a4 100644
--- a/src/javax/vecmath/GMatrix.java
+++ b/src/javax/vecmath/GMatrix.java
@@ -1341,6 +1341,7 @@ public class GMatrix implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this GMatrix.
* @return the String representation
*/
+ @Override
public String toString()
{
StringBuffer buffer = new StringBuffer(nRow*nCol*8);
@@ -1383,6 +1384,7 @@ public class GMatrix implements java.io.Serializable, Cloneable {
* likely.
* @return the integer hash code value
*/
+ @Override
public int hashCode() {
long bits = 1L;
@@ -1433,6 +1435,7 @@ public class GMatrix implements java.io.Serializable, Cloneable {
* @param o1 The object with which the comparison is made.
* @return true or false
*/
+ @Override
public boolean equals(Object o1)
{
try {
@@ -2979,6 +2982,7 @@ public class GMatrix implements java.io.Serializable, Cloneable {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
GMatrix m1 = null;
try {
diff --git a/src/javax/vecmath/GVector.java b/src/javax/vecmath/GVector.java
index 092ade4..f28db87 100644
--- a/src/javax/vecmath/GVector.java
+++ b/src/javax/vecmath/GVector.java
@@ -634,6 +634,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this GVector.
* @return the String representation
*/
+ @Override
public String toString() {
StringBuffer buffer = new StringBuffer(length*8);
@@ -657,6 +658,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* likely.
* @return the integer hash code value
*/
+ @Override
public int hashCode() {
long bits = 1L;
@@ -695,6 +697,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* @param o1 The object with which the comparison is made.
* @return true or false
*/
+ @Override
public boolean equals(Object o1)
{
try {
@@ -906,6 +909,7 @@ public class GVector implements java.io.Serializable, Cloneable {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
GVector v1 = null;
try {
diff --git a/src/javax/vecmath/Matrix3d.java b/src/javax/vecmath/Matrix3d.java
index e0a3708..ad77c09 100644
--- a/src/javax/vecmath/Matrix3d.java
+++ b/src/javax/vecmath/Matrix3d.java
@@ -205,6 +205,7 @@ public class Matrix3d implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this Matrix3d.
* @return the String representation
*/
+ @Override
public String toString() {
return
this.m00 + ", " + this.m01 + ", " + this.m02 + "\n" +
@@ -1916,6 +1917,7 @@ public class Matrix3d implements java.io.Serializable, Cloneable {
* @param t1 the matrix with which the comparison is made
* @return true or false
*/
+ @Override
public boolean equals(Object t1)
{
try {
@@ -1981,6 +1983,7 @@ public class Matrix3d 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(m00);
@@ -3103,6 +3106,7 @@ static double max3( double[] values) {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
Matrix3d m1 = null;
try {
diff --git a/src/javax/vecmath/Matrix3f.java b/src/javax/vecmath/Matrix3f.java
index 603b089..4f27128 100644
--- a/src/javax/vecmath/Matrix3f.java
+++ b/src/javax/vecmath/Matrix3f.java
@@ -208,6 +208,7 @@ public class Matrix3f implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this Matrix3f.
* @return the String representation
*/
+ @Override
public String toString() {
return
this.m00 + ", " + this.m01 + ", " + this.m02 + "\n" +
@@ -1913,6 +1914,7 @@ public class Matrix3f implements java.io.Serializable, Cloneable {
* @param o1 the object with which the comparison is made
* @return true or false
*/
+ @Override
public boolean equals(Object o1)
{
try {
@@ -1964,6 +1966,7 @@ public class Matrix3f 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(m00);
@@ -2095,6 +2098,7 @@ public class Matrix3f implements java.io.Serializable, Cloneable {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
Matrix3f m1 = null;
try {
diff --git a/src/javax/vecmath/Matrix4d.java b/src/javax/vecmath/Matrix4d.java
index b7c27a0..783b30c 100644
--- a/src/javax/vecmath/Matrix4d.java
+++ b/src/javax/vecmath/Matrix4d.java
@@ -422,6 +422,7 @@ public class Matrix4d implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this Matrix4d.
* @return the String representation
*/
+ @Override
public String toString() {
return
this.m00 + ", " + this.m01 + ", " + this.m02 + ", " + this.m03 + "\n" +
@@ -2978,6 +2979,7 @@ public class Matrix4d implements java.io.Serializable, Cloneable {
* @param t1 the matrix with which the comparison is made
* @return true or false
*/
+ @Override
public boolean equals(Object t1)
{
try {
@@ -3071,6 +3073,7 @@ public class Matrix4d 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(m00);
@@ -3583,6 +3586,7 @@ public class Matrix4d implements java.io.Serializable, Cloneable {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
Matrix4d m1 = null;
try {
diff --git a/src/javax/vecmath/Matrix4f.java b/src/javax/vecmath/Matrix4f.java
index e1d0add..5d29c81 100644
--- a/src/javax/vecmath/Matrix4f.java
+++ b/src/javax/vecmath/Matrix4f.java
@@ -357,6 +357,7 @@ public class Matrix4f implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this Matrix4f.
* @return the String representation
*/
+ @Override
public String toString() {
return
this.m00 + ", " + this.m01 + ", " + this.m02 + ", " + this.m03 + "\n" +
@@ -2769,6 +2770,7 @@ public class Matrix4f implements java.io.Serializable, Cloneable {
* @param t1 the matrix with which the comparison is made.
* @return true or false
*/
+ @Override
public boolean equals(Object t1)
{
try {
@@ -2831,6 +2833,7 @@ public class Matrix4f 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(m00);
@@ -3243,6 +3246,7 @@ public class Matrix4f implements java.io.Serializable, Cloneable {
* @see java.lang.Cloneable
* @since vecmath 1.3
*/
+ @Override
public Object clone() {
Matrix4f m1 = null;
try {
diff --git a/src/javax/vecmath/Tuple2d.java b/src/javax/vecmath/Tuple2d.java
index e3c3dde..2b60b2a 100644
--- a/src/javax/vecmath/Tuple2d.java
+++ b/src/javax/vecmath/Tuple2d.java
@@ -287,6 +287,7 @@ public abstract class Tuple2d 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);
@@ -317,6 +318,7 @@ public abstract class Tuple2d 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 {
@@ -357,6 +359,7 @@ public abstract class Tuple2d implements java.io.Serializable, Cloneable {
* The form is (x,y).
* @return the String representation
*/
+ @Override
public String toString()
{
return("(" + this.x + ", " + this.y + ")");
@@ -539,6 +542,7 @@ public abstract class Tuple2d 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 {
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 {
diff --git a/src/javax/vecmath/Tuple2i.java b/src/javax/vecmath/Tuple2i.java
index bca5d1d..9a29e0b 100644
--- a/src/javax/vecmath/Tuple2i.java
+++ b/src/javax/vecmath/Tuple2i.java
@@ -259,6 +259,7 @@ public abstract class Tuple2i implements java.io.Serializable, Cloneable {
* The form is (x,y).
* @return the String representation
*/
+ @Override
public String toString() {
return "(" + this.x + ", " + this.y + ")";
}
@@ -270,6 +271,7 @@ public abstract class Tuple2i implements java.io.Serializable, Cloneable {
* this Tuple2i.
* @param t1 the object with which the comparison is made
*/
+ @Override
public boolean equals(Object t1) {
try {
Tuple2i t2 = (Tuple2i) t1;
@@ -292,6 +294,7 @@ public abstract class Tuple2i 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;
@@ -440,6 +443,7 @@ public abstract class Tuple2i implements java.io.Serializable, Cloneable {
* @exception OutOfMemoryError if there is not enough memory.
* @see java.lang.Cloneable
*/
+ @Override
public Object clone() {
// Since there are no arrays we can just use Object.clone()
try {
diff --git a/src/javax/vecmath/Tuple3b.java b/src/javax/vecmath/Tuple3b.java
index 537a30b..8a9c7ac 100644
--- a/src/javax/vecmath/Tuple3b.java
+++ b/src/javax/vecmath/Tuple3b.java
@@ -114,6 +114,7 @@ public abstract class Tuple3b implements java.io.Serializable, Cloneable {
* Returns a string that contains the values of this Tuple3b.
* @return a String with the values
*/
+ @Override
public String toString()
{
return("(" + ((int)this.x & 0xff) +
@@ -196,6 +197,7 @@ public abstract class Tuple3b implements java.io.Serializable, Cloneable {
* this Tuple3b.
* @param t1 the object with which the comparison is made
*/
+ @Override
public boolean equals(Object t1)
{
try {
@@ -215,6 +217,7 @@ public abstract class Tuple3b 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) |
@@ -229,6 +232,7 @@ public abstract class Tuple3b 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 {
diff --git a/src/javax/vecmath/Tuple3d.java b/src/javax/vecmath/Tuple3d.java
index 923ea25..bf87e60 100644
--- a/src/javax/vecmath/Tuple3d.java
+++ b/src/javax/vecmath/Tuple3d.java
@@ -322,6 +322,7 @@ public abstract class Tuple3d 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 + ")";
}
@@ -335,6 +336,7 @@ public abstract class Tuple3d 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);
@@ -365,6 +367,7 @@ public abstract class Tuple3d 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 {
@@ -670,6 +673,7 @@ public abstract class Tuple3d 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 {
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 {
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 {
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 {
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 {
diff --git a/src/javax/vecmath/Tuple4f.java b/src/javax/vecmath/Tuple4f.java
index f94c855..44cd8e3 100644
--- a/src/javax/vecmath/Tuple4f.java
+++ b/src/javax/vecmath/Tuple4f.java
@@ -353,6 +353,7 @@ public abstract class Tuple4f 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 + ")";
}
@@ -379,6 +380,7 @@ public abstract class Tuple4f 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 {
@@ -433,6 +435,7 @@ public abstract class Tuple4f 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);
@@ -686,6 +689,7 @@ public abstract class Tuple4f 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 {
diff --git a/src/javax/vecmath/Tuple4i.java b/src/javax/vecmath/Tuple4i.java
index 914eef8..d27f2b6 100644
--- a/src/javax/vecmath/Tuple4i.java
+++ b/src/javax/vecmath/Tuple4i.java
@@ -311,6 +311,7 @@ public abstract class Tuple4i 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 + ")";
}
@@ -323,6 +324,7 @@ public abstract class Tuple4i 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 {
Tuple4i t2 = (Tuple4i) t1;
@@ -346,6 +348,7 @@ public abstract class Tuple4i 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;
@@ -567,6 +570,7 @@ public abstract class Tuple4i 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 {