| Package | Description |
|---|---|
| net.digitalid.utility.collections.iterable |
Provides the read-only and the freezable iterable.
|
| net.digitalid.utility.collections.map |
Provides one read-only and several freezable maps.
|
| Modifier and Type | Method and Description |
|---|---|
default <KEY,EXCEPTION extends Exception> |
ReadOnlyIterable.toFreezableMap(@Nonnull net.digitalid.utility.functional.failable.FailableUnaryFunction<? super ELEMENT,? extends KEY,? extends EXCEPTION> function)
Returns the elements of this iterable as a freezable map with their key determined by the given function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FreezableHashMap<K,V>
This class extends the
HashMap and makes it freezable. |
class |
FreezableLinkedHashMap<K,V>
This class extends the
LinkedHashMap and makes it freezable. |
| Modifier and Type | Method and Description |
|---|---|
@Nonnull @NonFrozen FreezableMap<K,V> |
ReadOnlyMap.clone() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> @NonFrozen FreezableHashMap<K,V> |
FreezableHashMap.withMappingsOf(FreezableMap<? extends K,? extends V> map)
Returns a new freezable hash map with the mappings of the given map or null if the given map is null.
|
static <K,V> @NonFrozen FreezableLinkedHashMap<K,V> |
FreezableLinkedHashMap.withMappingsOf(FreezableMap<? extends K,? extends V> map)
Returns a new freezable linked hash map with the mappings of the given map or null if the given map is null.
|
Copyright © 2017. All rights reserved.