Uses of Interface
com.jongsoft.lang.collection.Map
-
Packages that use Map Package Description com.jongsoft.lang This package contains all interfaces used through out the functional library.com.jongsoft.lang.collection A purely functional based set of collection implementations based upon the Collection. -
-
Uses of Map in com.jongsoft.lang
Methods in com.jongsoft.lang that return Map Modifier and Type Method Description static <K,T>
Map<K,T>Collections. Map()
Create a new emptyMap
.static <K,T>
Map<K,T>Collections. Map(K key, T value)
Create a new map with one pair in it being the providedkey
,value
. -
Uses of Map in com.jongsoft.lang.collection
Methods in com.jongsoft.lang.collection that return Map Modifier and Type Method Description Map<K,T>
Map. filter(java.util.function.Predicate<Pair<K,T>> predicate)
<K> Map<K,? extends List<T>>
List. groupBy(java.util.function.Function<? super T,? extends K> keyGenerator)
Generate a new sequence using thekeyGenerator
.<K> Map<K,? extends Sequence<T>>
Sequence. groupBy(java.util.function.Function<? super T,? extends K> keyGenerator)
Map<K,T>
Map. orElse(java.lang.Iterable<? extends Pair<K,T>> other)
Map<K,T>
Map. orElse(java.util.function.Supplier<? extends java.lang.Iterable<? extends Pair<K,T>>> supplier)
Map<K,T>
Map. put(K key, T value)
Add a new entry to theMap
.default Map<K,T>
Map. reject(java.util.function.Predicate<Pair<K,T>> predicate)
Map<K,T>
Map. remove(K key)
Removes any element with the corresponding key from the map.Map<K,T>
Map. tail()
Methods in com.jongsoft.lang.collection that return types with arguments of type Map Modifier and Type Method Description Pair<? extends Map<K,T>,? extends Map<K,T>>
Map. split(java.util.function.Predicate<Pair<K,T>> predicate)
Pair<? extends Map<K,T>,? extends Map<K,T>>
Map. split(java.util.function.Predicate<Pair<K,T>> predicate)
-