Package | Description |
---|---|
javolution.util |
Modifier and Type | Field and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
FastComparator<? super K> |
FastMap.getKeyComparator()
Returns the key comparator for this fast map.
|
FastComparator<? super E> |
FastList.getValueComparator() |
FastComparator<? super E> |
FastTable.getValueComparator() |
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> |
FastSet.getValueComparator() |
Modifier and Type | Method and Description |
---|---|
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.
|
FastList<E> |
FastList.setValueComparator(FastComparator<? super E> comparator)
Sets the comparator to use for value equality.
|
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() ). |
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.
|
Copyright © 2005–2016 Javolution. All rights reserved.