Package | Description |
---|---|
javaslang.collection |
Purely functional collections based on Traversable.
|
Modifier and Type | Class and Description |
---|---|
class |
TreeMap<K,V>
SortedMap implementation, backed by a Red/Black Tree.
|
Modifier and Type | Method and Description |
---|---|
<K2,V2> SortedMap<K2,V2> |
SortedMap.bimap(Comparator<? super K2> keyComparator,
java.util.function.Function<? super K,? extends K2> keyMapper,
java.util.function.Function<? super V,? extends V2> valueMapper)
Same as
bimap(Function, Function) , using a specific comparator for keys of the codomain of the given
keyMapper . |
<K2,V2> SortedMap<K2,V2> |
SortedMap.bimap(java.util.function.Function<? super K,? extends K2> keyMapper,
java.util.function.Function<? super V,? extends V2> valueMapper) |
SortedMap<K,V> |
SortedMap.clear() |
SortedMap<K,V> |
SortedMap.distinct() |
SortedMap<K,V> |
SortedMap.distinctBy(Comparator<? super Tuple2<K,V>> comparator) |
<U> SortedMap<K,V> |
SortedMap.distinctBy(java.util.function.Function<? super Tuple2<K,V>,? extends U> keyExtractor) |
SortedMap<K,V> |
SortedMap.drop(long n) |
SortedMap<K,V> |
SortedMap.dropRight(long n) |
SortedMap<K,V> |
SortedMap.dropUntil(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
SortedMap<K,V> |
SortedMap.dropWhile(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
SortedMap<K,V> |
SortedMap.filter(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
<K2,V2> SortedMap<K2,V2> |
SortedMap.flatMap(java.util.function.BiFunction<? super K,? super V,? extends Iterable<Tuple2<K2,V2>>> mapper) |
<K2,V2> SortedMap<K2,V2> |
SortedMap.flatMap(Comparator<? super K2> keyComparator,
java.util.function.BiFunction<? super K,? super V,? extends Iterable<Tuple2<K2,V2>>> mapper)
Same as
flatMap(BiFunction) but using a specific comparator for values of the codomain of the given
mapper . |
SortedMap<K,V> |
SortedMap.init() |
<K2,V2> SortedMap<K2,V2> |
SortedMap.map(java.util.function.BiFunction<? super K,? super V,Tuple2<K2,V2>> mapper) |
<K2,V2> SortedMap<K2,V2> |
SortedMap.map(Comparator<? super K2> keyComparator,
java.util.function.BiFunction<? super K,? super V,Tuple2<K2,V2>> mapper)
Same as
map(BiFunction) , using a specific comparator for keys of the codomain of the given
mapper . |
<V2> SortedMap<K,V2> |
SortedMap.mapValues(java.util.function.Function<? super V,? extends V2> valueMapper) |
SortedMap<K,V> |
SortedMap.merge(Map<? extends K,? extends V> that) |
<U extends V> |
SortedMap.merge(Map<? extends K,U> that,
java.util.function.BiFunction<? super V,? super U,? extends V> collisionResolution) |
SortedMap<K,V> |
SortedMap.peek(java.util.function.Consumer<? super Tuple2<K,V>> action) |
SortedMap<K,V> |
SortedMap.put(K key,
V value) |
SortedMap<K,V> |
SortedMap.put(Tuple2<? extends K,? extends V> entry) |
SortedMap<K,V> |
SortedMap.remove(K key) |
SortedMap<K,V> |
SortedMap.removeAll(Iterable<? extends K> keys) |
SortedMap<K,V> |
SortedMap.replace(Tuple2<K,V> currentElement,
Tuple2<K,V> newElement) |
SortedMap<K,V> |
SortedMap.replaceAll(Tuple2<K,V> currentElement,
Tuple2<K,V> newElement) |
SortedMap<K,V> |
SortedMap.retainAll(Iterable<? extends Tuple2<K,V>> elements) |
SortedMap<K,V> |
SortedMap.scan(Tuple2<K,V> zero,
java.util.function.BiFunction<? super Tuple2<K,V>,? super Tuple2<K,V>,? extends Tuple2<K,V>> operation) |
SortedMap<K,V> |
SortedMap.tail() |
SortedMap<K,V> |
SortedMap.take(long n) |
SortedMap<K,V> |
SortedMap.takeRight(long n) |
SortedMap<K,V> |
SortedMap.takeUntil(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
SortedMap<K,V> |
SortedMap.takeWhile(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
Modifier and Type | Method and Description |
---|---|
<C> Map<C,? extends SortedMap<K,V>> |
SortedMap.groupBy(java.util.function.Function<? super Tuple2<K,V>,? extends C> classifier) |
Iterator<? extends SortedMap<K,V>> |
SortedMap.grouped(long size) |
Option<? extends SortedMap<K,V>> |
SortedMap.initOption() |
Match.MatchValue.Of<? extends SortedMap<K,V>> |
SortedMap.match() |
Tuple2<? extends SortedMap<K,V>,? extends SortedMap<K,V>> |
SortedMap.partition(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
Tuple2<? extends SortedMap<K,V>,? extends SortedMap<K,V>> |
SortedMap.partition(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
Iterator<? extends SortedMap<K,V>> |
SortedMap.sliding(long size) |
Iterator<? extends SortedMap<K,V>> |
SortedMap.sliding(long size,
long step) |
Tuple2<? extends SortedMap<K,V>,? extends SortedMap<K,V>> |
SortedMap.span(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
Tuple2<? extends SortedMap<K,V>,? extends SortedMap<K,V>> |
SortedMap.span(java.util.function.Predicate<? super Tuple2<K,V>> predicate) |
Option<? extends SortedMap<K,V>> |
SortedMap.tailOption() |
Copyright © 2016. All Rights Reserved.