Klasse CollectionUtil
java.lang.Object
org.eclipse.net4j.util.collection.CollectionUtil
Various static helper methods.
- Seit:
- 3.5
- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <T> booleanaddNotNull(Collection<? super T> c, T e) static <K,V> V compute(Map<K, V> map, K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) static <T> Stream<T> concat(Collection<Stream<T>> streams) static <T> Stream<T> static <T> Iterator<T> static <T> Tfirst(Collection<? extends T> c) static <K,V> List <K> removeAll(Map<K, V> map, BiPredicate<K, V> predicate) static <T> Set<T> setOf(Collection<? extends T> c) static <NODE> List<NODE> topologicalSort(Collection<NODE> nodes, Function<NODE, Collection<NODE>> edgeProvider) static <NODE> List<NODE> topologicalSort(Collection<NODE> nodes, Function<NODE, Collection<NODE>> edgeProvider, boolean reverse)
-
Methodendetails
-
dump
-
topologicalSort
public static <NODE> List<NODE> topologicalSort(Collection<NODE> nodes, Function<NODE, Collection<NODE>> edgeProvider) - Seit:
- 3.25
-
topologicalSort
public static <NODE> List<NODE> topologicalSort(Collection<NODE> nodes, Function<NODE, Collection<NODE>> edgeProvider, boolean reverse) - Seit:
- 3.25
-
addNotNull
- Seit:
- 3.16
-
setOf
- Seit:
- 3.16
-
first
- Seit:
- 3.16
-
removeAll
- Seit:
- 3.16
-
compute
public static <K,V> V compute(Map<K, V> map, K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) - Seit:
- 3.16
-
concat
- Seit:
- 3.26
-
concat
- Seit:
- 3.26
-