aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/nio/ByteBuffer.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/nio/ByteBuffer.java')
-rw-r--r--libjava/java/nio/ByteBuffer.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/libjava/java/nio/ByteBuffer.java b/libjava/java/nio/ByteBuffer.java
index 8b7c601..d55ae6d 100644
--- a/libjava/java/nio/ByteBuffer.java
+++ b/libjava/java/nio/ByteBuffer.java
@@ -247,6 +247,15 @@ public abstract class ByteBuffer extends Buffer implements Comparable
}
/**
+ * Returns the current hash code of this buffer.
+ */
+ public int hashCode()
+ {
+ // FIXME: Check what SUN calcs here
+ return super.hashCode();
+ }
+
+ /**
* Tells whether or not this buffer is equal to another object.
*/
public boolean equals (Object obj)