diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java | 3 | ||||
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java b/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java index 7224d65a8..a89aec080 100644 --- a/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java +++ b/src/jogl/classes/javax/media/opengl/GLCapabilitiesImmutable.java @@ -139,9 +139,12 @@ public interface GLCapabilitiesImmutable extends WriteCloneable, CapabilitiesImm Object cloneMutable(); + @Override boolean equals(Object obj); + @Override int hashCode(); + @Override String toString(); } diff --git a/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java b/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java index 3aae8c8fb..8fb704bad 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java +++ b/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java @@ -104,14 +104,17 @@ public interface CapabilitiesImmutable extends WriteCloneable { Object cloneMutable(); /** Equality over the immutable attributes of both objects */ + @Override boolean equals(Object obj); /** hash code over the immutable attributes of both objects */ + @Override int hashCode(); /** Return a textual representation of this object. Use the given StringBuffer [optional]. */ StringBuffer toString(StringBuffer sink); /** Returns a textual representation of this object. */ + @Override String toString(); } |