|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.extra166y.CustomConcurrentHashMap.EquivalenceUsingEquals
static final class CustomConcurrentHashMap.EquivalenceUsingEquals
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
CustomConcurrentHashMap.EquivalenceUsingEquals()
|
Method Summary | |
---|---|
boolean |
equal(java.lang.Object a,
java.lang.Object b)
Returns true if the given objects are considered equal. |
int |
hash(java.lang.Object a)
Returns a hash value such that equal(a, b) implies hash(a)==hash(b). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
CustomConcurrentHashMap.EquivalenceUsingEquals()
Method Detail |
---|
public final boolean equal(java.lang.Object a, java.lang.Object b)
CustomConcurrentHashMap.Equivalence
equal
in interface CustomConcurrentHashMap.Equivalence<java.lang.Object>
a
- a key in, or being placed in, the mapb
- an object queried for membership
public final int hash(java.lang.Object a)
CustomConcurrentHashMap.Equivalence
hash
in interface CustomConcurrentHashMap.Equivalence<java.lang.Object>
a
- an object queried for membership
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |