| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.objects |
Provides type-specific classes for object elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReference2BooleanSortedMap<K>
An abstract class providing basic methods for sorted maps implementing a type-specific interface.
|
class |
Reference2BooleanLinkedOpenHashMap<K>
A type-specific linked hash map with with a fast, small-footprint implementation.
|
static class |
Reference2BooleanSortedMaps.EmptySortedMap<K>
An immutable class representing an empty type-specific sorted map.
|
static class |
Reference2BooleanSortedMaps.Singleton<K>
An immutable class representing a type-specific singleton sorted map.
|
static class |
Reference2BooleanSortedMaps.SynchronizedSortedMap<K>
A synchronized wrapper class for sorted maps.
|
static class |
Reference2BooleanSortedMaps.UnmodifiableSortedMap<K>
An unmodifiable wrapper class for sorted maps.
|
| Modifier and Type | Field and Description |
|---|---|
protected Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.SynchronizedSortedMap.sortedMap |
protected Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.UnmodifiableSortedMap.sortedMap |
| Modifier and Type | Method and Description |
|---|---|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.emptyMap()
Returns an empty sorted map (immutable).
|
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMap.headMap(K toKey)
Returns a view of the portion of this sorted map whose keys are strictly less than
toKey. |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.EmptySortedMap.headMap(K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.Singleton.headMap(K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.SynchronizedSortedMap.headMap(K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.UnmodifiableSortedMap.headMap(K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanLinkedOpenHashMap.headMap(K to)
Returns a view of the portion of this sorted map whose keys are strictly less than
toKey. |
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.singleton(K key,
boolean value)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.singleton(K key,
Boolean value)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.singleton(K key,
boolean value,
Comparator<? super K> comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.singleton(K key,
Boolean value,
Comparator<? super K> comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMap.subMap(K fromKey,
K toKey)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.EmptySortedMap.subMap(K from,
K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.Singleton.subMap(K from,
K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.SynchronizedSortedMap.subMap(K from,
K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.UnmodifiableSortedMap.subMap(K from,
K to) |
Reference2BooleanSortedMap<K> |
Reference2BooleanLinkedOpenHashMap.subMap(K from,
K to)
Returns a view of the portion of this sorted map whose keys range from
fromKey, inclusive, to toKey, exclusive. |
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.synchronize(Reference2BooleanSortedMap<K> m)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map.
|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.synchronize(Reference2BooleanSortedMap<K> m,
Object sync)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map, using an assigned object to synchronize.
|
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMap.tailMap(K fromKey)
Returns a view of the portion of this sorted map whose keys are greater than or equal to
fromKey. |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.EmptySortedMap.tailMap(K from) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.Singleton.tailMap(K from) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.SynchronizedSortedMap.tailMap(K from) |
Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.UnmodifiableSortedMap.tailMap(K from) |
Reference2BooleanSortedMap<K> |
Reference2BooleanLinkedOpenHashMap.tailMap(K from)
Returns a view of the portion of this sorted map whose keys are greater than or equal to
fromKey. |
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.unmodifiable(Reference2BooleanSortedMap<K> m)
Returns an unmodifiable type-specific sorted map backed by the given type-specific sorted map.
|
| Modifier and Type | Method and Description |
|---|---|
static <K> ObjectBidirectionalIterable<Reference2BooleanMap.Entry<K>> |
Reference2BooleanSortedMaps.fastIterable(Reference2BooleanSortedMap<K> map)
|
static <K> ObjectBidirectionalIterator<Reference2BooleanMap.Entry<K>> |
Reference2BooleanSortedMaps.fastIterator(Reference2BooleanSortedMap<K> map)
|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.synchronize(Reference2BooleanSortedMap<K> m)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map.
|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.synchronize(Reference2BooleanSortedMap<K> m,
Object sync)
Returns a synchronized type-specific sorted map backed by the given type-specific sorted map, using an assigned object to synchronize.
|
static <K> Reference2BooleanSortedMap<K> |
Reference2BooleanSortedMaps.unmodifiable(Reference2BooleanSortedMap<K> m)
Returns an unmodifiable type-specific sorted map backed by the given type-specific sorted map.
|
| Constructor and Description |
|---|
SynchronizedSortedMap(Reference2BooleanSortedMap<K> m) |
SynchronizedSortedMap(Reference2BooleanSortedMap<K> m,
Object sync) |
UnmodifiableSortedMap(Reference2BooleanSortedMap<K> m) |
Copyright © 2020. All rights reserved.