Package | Description |
---|---|
com.koloboke.collect |
The root package of the collection library.
|
com.koloboke.collect.map |
Contains interfaces of
Map specializations, their factories and cursors. |
com.koloboke.collect.map.hash |
Contains interfaces of
Map specializations, based on hash tables,
their factories and static factory methods. |
com.koloboke.collect.set |
Contains interfaces of
Set specializations and their factories. |
com.koloboke.collect.set.hash |
Contains interfaces of
Set specializations, based on hash tables,
their factories and static factory methods. |
Modifier and Type | Class and Description |
---|---|
class |
StatelessEquivalence<T>
Base class for stateless
Equivalence implementations. |
Modifier and Type | Method and Description |
---|---|
static Equivalence<String> |
Equivalence.caseInsensitive()
Returns the
String equivalence that uses String.equalsIgnoreCase(java.lang.String) to compare
strings. |
static Equivalence<CharSequence> |
Equivalence.charSequence()
Returns the equivalence that compares
CharSequence s by their contents. |
static <T> Equivalence<T> |
Equivalence.defaultEquality()
Returns the default, built-in equivalence in Java, driven by
Object.equals(Object)
and Object.hashCode() methods. |
static <K,V> Equivalence<Map.Entry<K,V>> |
Equivalence.entryEquivalence(Equivalence<K> keyEquivalence,
Equivalence<V> valueEquivalence)
Returns a
Map.Entry equivalence for the given key and value equivalences. |
Equivalence<E> |
ObjCollection.equivalence()
Returns the equivalence strategy for elements in this collection.
|
static <T> Equivalence<T> |
Equivalence.identity()
Returns the equivalence that uses
== to compare objects and
System.identityHashCode(Object) to compute the hash code. |
Modifier and Type | Method and Description |
---|---|
static <K,V> Equivalence<Map.Entry<K,V>> |
Equivalence.entryEquivalence(Equivalence<K> keyEquivalence,
Equivalence<V> valueEquivalence)
Returns a
Map.Entry equivalence for the given key and value equivalences. |
static <K,V> Equivalence<Map.Entry<K,V>> |
Equivalence.entryEquivalence(Equivalence<K> keyEquivalence,
Equivalence<V> valueEquivalence)
Returns a
Map.Entry equivalence for the given key and value equivalences. |
Modifier and Type | Method and Description |
---|---|
Equivalence<K> |
ObjByteMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjCharMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjDoubleMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjFloatMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjIntMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjLongMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjObjMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjShortMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<V> |
ByteObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<V> |
CharObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<V> |
DoubleObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<V> |
FloatObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<V> |
IntObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<V> |
LongObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<V> |
ObjObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<V> |
ShortObjMapFactory.getValueEquivalence()
Returns the equivalence to which value
equivalence of the maps constructed by this factory is set.
|
Equivalence<K> |
ObjByteMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<K> |
ObjCharMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<K> |
ObjDoubleMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<K> |
ObjFloatMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<K> |
ObjIntMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<K> |
ObjLongMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<K> |
ObjObjMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<K> |
ObjShortMap.keyEquivalence()
Returns the equivalence strategy for keys in this map.
|
Equivalence<V> |
ByteObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Equivalence<V> |
CharObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Equivalence<V> |
DoubleObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Equivalence<V> |
FloatObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Equivalence<V> |
IntObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Equivalence<V> |
LongObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Equivalence<V> |
ObjObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Equivalence<V> |
ShortObjMap.valueEquivalence()
Returns the equivalence strategy for values in this map.
|
Modifier and Type | Method and Description |
---|---|
F |
ByteObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
F |
CharObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
F |
DoubleObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
F |
FloatObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
F |
IntObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
F |
LongObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
F |
ObjObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
F |
ShortObjMapFactory.withValueEquivalence(Equivalence<? super V> valueEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
value equivalence set to the given
Equivalence . |
Modifier and Type | Method and Description |
---|---|
Equivalence<K> |
HashObjByteMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
HashObjCharMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
HashObjDoubleMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
HashObjFloatMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
HashObjIntMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
HashObjLongMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
HashObjObjMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Equivalence<K> |
HashObjShortMapFactory.getKeyEquivalence()
Returns the equivalence to which key equivalence
of the maps constructed by this factory is set.
|
Modifier and Type | Method and Description |
---|---|
HashObjByteMapFactory<K> |
HashObjByteMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
HashObjCharMapFactory<K> |
HashObjCharMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
HashObjDoubleMapFactory<K> |
HashObjDoubleMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
HashObjFloatMapFactory<K> |
HashObjFloatMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
HashObjIntMapFactory<K> |
HashObjIntMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
HashObjLongMapFactory<K> |
HashObjLongMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
HashObjObjMapFactory<K,V> |
HashObjObjMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
HashObjShortMapFactory<K> |
HashObjShortMapFactory.withKeyEquivalence(Equivalence<? super K> keyEquivalence)
Returns a copy of this factory, with exception that it constructs maps with
key equivalence set to the given
Equivalence . |
Modifier and Type | Method and Description |
---|---|
Equivalence<E> |
ObjSetFactory.getEquivalence()
Returns the equivalence to which equivalence of the sets
constructed by this factory is set.
|
Modifier and Type | Method and Description |
---|---|
Equivalence<E> |
HashObjSetFactory.getEquivalence()
Returns the equivalence to which equivalence of the sets
constructed by this factory is set.
|
Modifier and Type | Method and Description |
---|---|
HashObjSetFactory<E> |
HashObjSetFactory.withEquivalence(Equivalence<? super E> equivalence)
Returns a copy of this factory, with exception that it constructs sets with
element equivalence set to the given
Equivalence . |