|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FastComparator | |
---|---|
javolution.util | Provides high-performance collection classes and miscellaneous utilities; although
this package provides very few collection classes, they are substitutes for
most of java.util.* classes (for example, java.util.IdentityHashMap would be
a FastMap with an identity key comparator). |
Uses of FastComparator in javolution.util |
---|
Fields in javolution.util declared as FastComparator | |
---|---|
static FastComparator<Object> |
FastComparator.DEFAULT
Holds the default object comparator; rehash is performed if the system hash code (platform dependent) is not evenly distributed. |
static FastComparator<Object> |
FastComparator.DIRECT
Holds the direct object comparator; no rehash is performed. |
static FastComparator<Object> |
FastComparator.IDENTITY
Holds the identity comparator; poorly distributed system hashcodes are rehashed. |
static FastComparator<CharSequence> |
FastComparator.LEXICAL
Holds a lexicographic comparator for any CharSequence or
String instances. |
static FastComparator<Object> |
FastComparator.REHASH
Holds the comparator for objects with uneven hash distribution; objects hashcodes are rehashed. |
static FastComparator<String> |
FastComparator.STRING
Holds a fast comparator for java.lang.String . |
Methods in javolution.util that return FastComparator | |
---|---|
FastComparator<? super K> |
FastMap.getKeyComparator()
Returns the key comparator for this fast map. |
FastComparator<? super E> |
FastCollection.getValueComparator()
Returns the value comparator for this collection (default DEFAULT ). |
FastComparator<? super V> |
FastMap.getValueComparator()
Returns the value comparator for this fast map. |
FastComparator<? super E> |
FastTable.getValueComparator()
|
FastComparator<? super E> |
FastList.getValueComparator()
|
FastComparator<? super E> |
FastSet.getValueComparator()
|
Methods in javolution.util with parameters of type FastComparator | |
---|---|
FastMap<K,V> |
FastMap.setKeyComparator(FastComparator<? super K> keyComparator)
Sets the key comparator for this fast map. |
LocalMap<K,V> |
LocalMap.setKeyComparator(FastComparator<? super K> keyComparator)
Sets the key comparator for this local map. |
FastTable<E> |
FastTable.setValueComparator(FastComparator<? super E> comparator)
Sets the comparator to use for value equality or comparison if the collection is ordered (see FastTable.sort() ). |
FastList<E> |
FastList.setValueComparator(FastComparator<? super E> comparator)
Sets the comparator to use for value equality. |
FastSet<E> |
FastSet.setValueComparator(FastComparator<? super E> comparator)
Sets the comparator to use for value equality. |
FastMap<K,V> |
FastMap.setValueComparator(FastComparator<? super V> valueComparator)
Sets the value comparator for this map. |
LocalMap<K,V> |
LocalMap.setValueComparator(FastComparator<? super V> valueComparator)
Sets the value comparator for this local map. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |