org.javimmutable.collections.cursors
Class Cursors
java.lang.Object
org.javimmutable.collections.cursors.Cursors
public final class Cursors
- extends Object
Method Summary |
static boolean |
areEqual(Cursor<?> a,
Cursor<?> b)
Return true if and only if both cursors have the same length and contain objects
that are equal based on their equals() methods. |
static int |
computeHashCode(Cursor<?> cursor)
Computes a hash code from the hash codes of all values in the cursor. |
static String |
makeString(Cursor<?> cursor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
computeHashCode
public static int computeHashCode(Cursor<?> cursor)
- Computes a hash code from the hash codes of all values in the cursor.
- Parameters:
cursor
-
- Returns:
areEqual
public static boolean areEqual(Cursor<?> a,
Cursor<?> b)
- Return true if and only if both cursors have the same length and contain objects
that are equal based on their equals() methods.
- Parameters:
a
- b
-
- Returns:
makeString
public static String makeString(Cursor<?> cursor)
Copyright © 2014 Burton Computer Corporation. All rights reserved.