Uses of Interface
org.teavm.classlib.java.util.stream.TCollector
Packages that use TCollector
-
Uses of TCollector in org.teavm.classlib.java.util.stream
Methods in org.teavm.classlib.java.util.stream that return TCollectorModifier and TypeMethodDescriptionstatic <T,A, R, K> TCollector<T, A, K> TCollectors.collectingAndThen(TCollector<T, A, R> downstream, Function<R, K> finisher) static TCollector<CharSequence,?, String> TCollectors.joining()static TCollector<CharSequence,?, String> TCollectors.joining(CharSequence delimiter) static TCollector<CharSequence,?, String> TCollectors.joining(CharSequence delimiter, CharSequence prefix, CharSequence suffix) static <T,A, R> TCollector<T, A, R> TCollector.of(Supplier<A> supplier, BiConsumer<A, T> accumulator, BinaryOperator<A> combiner, Function<A, R> finisher, TCollector.Characteristics... characteristics) static <T,R> TCollector<T, R, R> TCollector.of(Supplier<R> supplier, BiConsumer<R, T> accumulator, BinaryOperator<R> combiner, TCollector.Characteristics... characteristics) static <T,C extends Collection<T>>
TCollector<T,?, C> TCollectors.toCollection(Supplier<C> collectionFactory) static <T> TCollector<T,?, List<T>> TCollectors.toList()static <E,K, V> TCollector<E, ?, Map<K, V>> TCollectors.toMap(Function<? super E, ? extends K> keyMapper, Function<? super E, ? extends V> valueMapper) static <E,K, V> TCollector<E, ?, Map<K, V>> TCollectors.toMap(Function<? super E, ? extends K> keyMapper, Function<? super E, ? extends V> valueMapper, BinaryOperator<V> mergeFunction) static <E,K, V, M extends Map<K, V>>
TCollector<E,?, M> TCollectors.toMap(Function<? super E, ? extends K> keyMapper, Function<? super E, ? extends V> valueMapper, BinaryOperator<V> mergeFunction, Supplier<M> mapFactory) static <T> TCollector<T,?, Set<T>> TCollectors.toSet()static <T> TCollector<T,?, List<T>> TCollectors.toUnmodifiableList()Methods in org.teavm.classlib.java.util.stream with parameters of type TCollectorModifier and TypeMethodDescription<R,A> R TStream.collect(TCollector<? super T, A, R> collector) static <T,A, R, K> TCollector<T, A, K> TCollectors.collectingAndThen(TCollector<T, A, R> downstream, Function<R, K> finisher) -
Uses of TCollector in org.teavm.classlib.java.util.stream.impl
Methods in org.teavm.classlib.java.util.stream.impl with parameters of type TCollectorModifier and TypeMethodDescription<R,A> R TSimpleStreamImpl.collect(TCollector<? super T, A, R> collector)