Package | Description |
---|---|
_templates.javolution.util |
Modifier and Type | Field and Description |
---|---|
static FastComparator |
FastComparator.DEFAULT
Holds the default object comparator; rehash is performed if the
system hash code (platform dependent) is not evenly distributed.
|
static FastComparator |
FastComparator.DIRECT
Holds the direct object comparator; no rehash is performed.
|
static FastComparator |
FastComparator.IDENTITY
Holds the identity comparator; poorly distributed system hashcodes are
rehashed.
|
static FastComparator |
FastComparator.LEXICAL
Holds a lexicographic comparator for any
CharSequence or
String instances. |
static FastComparator |
FastComparator.REHASH
Holds the comparator for objects with uneven hash distribution; objects
hashcodes are rehashed.
|
static FastComparator |
FastComparator.STRING
Holds a fast comparator for
java.lang.String . |
Modifier and Type | Method and Description |
---|---|
FastComparator |
FastMap.getKeyComparator()
Returns the key comparator for this fast map.
|
FastComparator |
FastCollection.getValueComparator()
Returns the value comparator for this collection (default
DEFAULT ). |
FastComparator |
FastMap.getValueComparator()
Returns the value comparator for this fast map.
|
FastComparator |
FastSet.getValueComparator() |
FastComparator |
FastTable.getValueComparator() |
FastComparator |
FastList.getValueComparator() |
Modifier and Type | Method and Description |
---|---|
LocalMap |
LocalMap.setKeyComparator(FastComparator keyComparator)
Sets the key comparator for this local map.
|
FastMap |
FastMap.setKeyComparator(FastComparator keyComparator)
Sets the key comparator for this fast map.
|
LocalMap |
LocalMap.setValueComparator(FastComparator valueComparator)
Sets the value comparator for this local map.
|
FastMap |
FastMap.setValueComparator(FastComparator valueComparator)
Sets the value comparator for this map.
|
FastSet |
FastSet.setValueComparator(FastComparator comparator)
Sets the comparator to use for value equality.
|
FastTable |
FastTable.setValueComparator(FastComparator comparator)
Sets the comparator to use for value equality or comparison if the
collection is ordered (see
FastTable.sort() ). |
FastList |
FastList.setValueComparator(FastComparator comparator)
Sets the comparator to use for value equality.
|
Copyright © 2005–2016 Javolution. All rights reserved.