Package | Description |
---|---|
javolution.util |
High-performance collection classes with
worst case execution time behavior documented. |
javolution.util.function |
Basic functions for lambda expressions and method references.
|
javolution.util.service |
Service interfaces to be implemented by
javolution.util.*
collections and collections views. |
Modifier and Type | Method and Description |
---|---|
Equality<? super E> |
FastCollection.comparator()
Returns the comparator uses by this collection for equality and/or
ordering if this collection is sorted.
|
Constructor and Description |
---|
FastMap(Equality<? super K> keyEquality)
Creates an empty fast map using the specified comparator for keys
equality.
|
FastMap(Equality<? super K> keyEquality,
Equality<? super V> valueEquality)
Creates an empty fast map using the specified comparators for keys
equality and values equality.
|
FastMap(Equality<? super K> keyEquality,
Equality<? super V> valueEquality)
Creates an empty fast map using the specified comparators for keys
equality and values equality.
|
FastSet(Equality<? super E> comparator)
Creates an empty set backed up by a
FastMap and using the
specified comparator for key equality. |
FastSortedMap(Equality<? super K> keyComparator)
Creates an empty sorted map ordered using the specified comparator
for order.
|
FastSortedMap(Equality<? super K> keyComparator,
Equality<? super V> valueComparator)
Creates an empty sorted map ordered using the specified key comparator
for order and value comparator for values equality.
|
FastSortedMap(Equality<? super K> keyComparator,
Equality<? super V> valueComparator)
Creates an empty sorted map ordered using the specified key comparator
for order and value comparator for values equality.
|
FastSortedSet(Equality<? super E> comparator)
Creates an empty sorted set ordered using the specified comparator.
|
FastSortedTable(Equality<? super E> comparator)
Creates an empty table sorted using the specified element comparator.
|
FastTable(Equality<? super E> comparator)
Creates an empty table using the specified comparator for element
equality.
|
Modifier and Type | Field and Description |
---|---|
static Equality<Object> |
Equalities.ARRAY
A content array comparator.
|
static Equality<Object> |
Equalities.IDENTITY
A comparator for which instances are only equals to themselves.
|
static Equality<CharSequence> |
Equalities.LEXICAL
A lexicographic comparator for any
CharSequence . |
static Equality<CharSequence> |
Equalities.LEXICAL_CASE_INSENSITIVE
A case insensitive lexicographic comparator for any
CharSequence . |
static Equality<CharSequence> |
Equalities.LEXICAL_FAST
An optimized lexical comparator for any
CharSequence taking
a sample of few characters instead of the whole character sequence to
calculate the hash code (still equality comparison checks all characters). |
static Equality<Object> |
Equalities.STANDARD
A standard object comparator (based on the object hashCode and equals
methods).
|
Modifier and Type | Method and Description |
---|---|
Equality<? super E> |
CollectionService.comparator()
Returns the comparator used for element equality or order if the
collection is sorted.
|
Equality<? super K> |
MapService.keyComparator()
Returns the key comparator used for key equality or order if the
map is sorted.
|
Equality<? super V> |
MapService.valueComparator()
Returns the value comparator used for value equality.
|
Copyright © 2005-2013 Javolution. All Rights Reserved.