Table of Contents

Class Collectors

Namespace
Java.Util.Stream
Assembly
MASES.JNet.dll
public class Collectors : JVMBridgeBase<Collectors>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Collectors>
Collectors
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Collectors>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Collectors>.IsAssignableFrom<T>()
JVMBridgeBase<Collectors>.Execute<T>(params T[])
JVMBridgeBase<Collectors>.DynBridgeClazz
JVMBridgeBase<Collectors>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Collectors()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Collectors()

Collectors(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Collectors(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AveragingDouble<T, Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT>)

public static Collector<T, object, Double> AveragingDouble<T, Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToDoubleFunction<Arg0objectSuperT>

ToDoubleFunction

Returns

Collector<T, object, Double>

Collector

Type Parameters

T
Arg0objectSuperT

T

AveragingInt<T, Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT>)

public static Collector<T, object, Double> AveragingInt<T, Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToIntFunction<Arg0objectSuperT>

ToIntFunction

Returns

Collector<T, object, Double>

Collector

Type Parameters

T
Arg0objectSuperT

T

AveragingLong<T, Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT>)

public static Collector<T, object, Double> AveragingLong<T, Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToLongFunction<Arg0objectSuperT>

ToLongFunction

Returns

Collector<T, object, Double>

Collector

Type Parameters

T
Arg0objectSuperT

T

CollectingAndThen<T, A, RR, R>(Collector<T, A, R>, Function<R, RR>)

public static Collector<T, A, RR> CollectingAndThen<T, A, RR, R>(Collector<T, A, R> arg0, Function<R, RR> arg1)

Parameters

arg0 Collector<T, A, R>

Collector

arg1 Function<R, RR>

Function

Returns

Collector<T, A, RR>

Collector

Type Parameters

T
A
RR
R

Counting<T>()

public static Collector<T, object, Long> Counting<T>()

Returns

Collector<T, object, Long>

Collector

Type Parameters

T

Filtering<T, R, Arg0objectSuperT, Arg1objectSuperT, A>(Predicate<Arg0objectSuperT>, Collector<Arg1objectSuperT, A, R>)

public static Collector<T, object, R> Filtering<T, R, Arg0objectSuperT, Arg1objectSuperT, A>(Predicate<Arg0objectSuperT> arg0, Collector<Arg1objectSuperT, A, R> arg1) where Arg0objectSuperT : T where Arg1objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

arg1 Collector<Arg1objectSuperT, A, R>

Collector

Returns

Collector<T, object, R>

Collector

Type Parameters

T
R
Arg0objectSuperT

T

Arg1objectSuperT

T

A

FlatMapping<T, R, Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsU_, Arg0ExtendsU, U, Arg1objectSuperU, A>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsU_>, Collector<Arg1objectSuperU, A, R>)

public static Collector<T, object, R> FlatMapping<T, R, Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsU_, Arg0ExtendsU, U, Arg1objectSuperU, A>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsU_> arg0, Collector<Arg1objectSuperU, A, R> arg1) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsU_ : Stream<Arg0ExtendsU> where Arg0ExtendsU : U where Arg1objectSuperU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsU_>

Function

arg1 Collector<Arg1objectSuperU, A, R>

Collector

Returns

Collector<T, object, R>

Collector

Type Parameters

T
R
Arg0objectSuperT

T

Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsU_

Stream<T>

Arg0ExtendsU

U

U
Arg1objectSuperU

U

A

GroupingByConcurrent<T, K, Arg0objectSuperT, Arg0ExtendsK>(Function<Arg0objectSuperT, Arg0ExtendsK>)

public static Collector<T, object, ConcurrentMap<K, List<T>>> GroupingByConcurrent<T, K, Arg0objectSuperT, Arg0ExtendsK>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0) where Arg0objectSuperT : T where Arg0ExtendsK : K

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

Returns

Collector<T, object, ConcurrentMap<K, List<T>>>

Collector

Type Parameters

T
K
Arg0objectSuperT

T

Arg0ExtendsK

K

GroupingByConcurrent<T, K, D, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, A>(Function<Arg0objectSuperT, Arg0ExtendsK>, Collector<Arg1objectSuperT, A, D>)

public static Collector<T, object, ConcurrentMap<K, D>> GroupingByConcurrent<T, K, D, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, A>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Collector<Arg1objectSuperT, A, D> arg1) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Collector<Arg1objectSuperT, A, D>

Collector

Returns

Collector<T, object, ConcurrentMap<K, D>>

Collector

Type Parameters

T
K
D
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

A

GroupingByConcurrent<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg2objectSuperT, A, D>(Function<Arg0objectSuperT, Arg0ExtendsK>, Supplier<M>, Collector<Arg2objectSuperT, A, D>)

public static Collector<T, object, M> GroupingByConcurrent<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg2objectSuperT, A, D>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Supplier<M> arg1, Collector<Arg2objectSuperT, A, D> arg2) where M : ConcurrentMap<K, D> where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg2objectSuperT : T

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Supplier<M>

Supplier

arg2 Collector<Arg2objectSuperT, A, D>

Collector

Returns

Collector<T, object, M>

Collector

Type Parameters

T
M

ConcurrentMap<K, V>

Arg0objectSuperT

T

Arg0ExtendsK

K

K
Arg2objectSuperT

T

A
D

GroupingBy<T, K, Arg0objectSuperT, Arg0ExtendsK>(Function<Arg0objectSuperT, Arg0ExtendsK>)

public static Collector<T, object, Map<K, List<T>>> GroupingBy<T, K, Arg0objectSuperT, Arg0ExtendsK>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0) where Arg0objectSuperT : T where Arg0ExtendsK : K

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

Returns

Collector<T, object, Map<K, List<T>>>

Collector

Type Parameters

T
K
Arg0objectSuperT

T

Arg0ExtendsK

K

GroupingBy<T, K, D, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, A>(Function<Arg0objectSuperT, Arg0ExtendsK>, Collector<Arg1objectSuperT, A, D>)

public static Collector<T, object, Map<K, D>> GroupingBy<T, K, D, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, A>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Collector<Arg1objectSuperT, A, D> arg1) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Collector<Arg1objectSuperT, A, D>

Collector

Returns

Collector<T, object, Map<K, D>>

Collector

Type Parameters

T
K
D
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

A

GroupingBy<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg2objectSuperT, A, D>(Function<Arg0objectSuperT, Arg0ExtendsK>, Supplier<M>, Collector<Arg2objectSuperT, A, D>)

public static Collector<T, object, M> GroupingBy<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg2objectSuperT, A, D>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Supplier<M> arg1, Collector<Arg2objectSuperT, A, D> arg2) where M : Map<K, D> where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg2objectSuperT : T

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Supplier<M>

Supplier

arg2 Collector<Arg2objectSuperT, A, D>

Collector

Returns

Collector<T, object, M>

Collector

Type Parameters

T
M

Map<K, V>

Arg0objectSuperT

T

Arg0ExtendsK

K

K
Arg2objectSuperT

T

A
D

Joining()

public static Collector<CharSequence, object, String> Joining()

Returns

Collector<CharSequence, object, String>

Collector

Joining(CharSequence)

public static Collector<CharSequence, object, String> Joining(CharSequence arg0)

Parameters

arg0 CharSequence

CharSequence

Returns

Collector<CharSequence, object, String>

Collector

Joining(CharSequence, CharSequence, CharSequence)

public static Collector<CharSequence, object, String> Joining(CharSequence arg0, CharSequence arg1, CharSequence arg2)

Parameters

arg0 CharSequence

CharSequence

arg1 CharSequence

CharSequence

arg2 CharSequence

CharSequence

Returns

Collector<CharSequence, object, String>

Collector

Mapping<T, R, Arg0objectSuperT, Arg0ExtendsU, U, Arg1objectSuperU, A>(Function<Arg0objectSuperT, Arg0ExtendsU>, Collector<Arg1objectSuperU, A, R>)

public static Collector<T, object, R> Mapping<T, R, Arg0objectSuperT, Arg0ExtendsU, U, Arg1objectSuperU, A>(Function<Arg0objectSuperT, Arg0ExtendsU> arg0, Collector<Arg1objectSuperU, A, R> arg1) where Arg0objectSuperT : T where Arg0ExtendsU : U where Arg1objectSuperU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsU>

Function

arg1 Collector<Arg1objectSuperU, A, R>

Collector

Returns

Collector<T, object, R>

Collector

Type Parameters

T
R
Arg0objectSuperT

T

Arg0ExtendsU

U

U
Arg1objectSuperU

U

A

MaxBy<T, Arg0objectSuperT>(Comparator<Arg0objectSuperT>)

public static Collector<T, object, Optional<T>> MaxBy<T, Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Comparator<Arg0objectSuperT>

Comparator

Returns

Collector<T, object, Optional<T>>

Collector

Type Parameters

T
Arg0objectSuperT

T

MinBy<T, Arg0objectSuperT>(Comparator<Arg0objectSuperT>)

public static Collector<T, object, Optional<T>> MinBy<T, Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Comparator<Arg0objectSuperT>

Comparator

Returns

Collector<T, object, Optional<T>>

Collector

Type Parameters

T
Arg0objectSuperT

T

PartitioningBy<T, Arg0objectSuperT>(Predicate<Arg0objectSuperT>)

public static Collector<T, object, Map<Boolean, List<T>>> PartitioningBy<T, Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

Returns

Collector<T, object, Map<Boolean, List<T>>>

Collector

Type Parameters

T
Arg0objectSuperT

T

PartitioningBy<T, D, Arg0objectSuperT, Arg1objectSuperT, A>(Predicate<Arg0objectSuperT>, Collector<Arg1objectSuperT, A, D>)

public static Collector<T, object, Map<Boolean, D>> PartitioningBy<T, D, Arg0objectSuperT, Arg1objectSuperT, A>(Predicate<Arg0objectSuperT> arg0, Collector<Arg1objectSuperT, A, D> arg1) where Arg0objectSuperT : T where Arg1objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

arg1 Collector<Arg1objectSuperT, A, D>

Collector

Returns

Collector<T, object, Map<Boolean, D>>

Collector

Type Parameters

T
D
Arg0objectSuperT

T

Arg1objectSuperT

T

A

Reducing<T>(BinaryOperator<T>)

public static Collector<T, object, Optional<T>> Reducing<T>(BinaryOperator<T> arg0)

Parameters

arg0 BinaryOperator<T>

BinaryOperator

Returns

Collector<T, object, Optional<T>>

Collector

Type Parameters

T

Reducing<T>(T, BinaryOperator<T>)

public static Collector<T, object, T> Reducing<T>(T arg0, BinaryOperator<T> arg1)

Parameters

arg0 T

T

arg1 BinaryOperator<T>

BinaryOperator

Returns

Collector<T, object, T>

Collector

Type Parameters

T

Reducing<T, U, Arg1objectSuperT, Arg1ExtendsU>(U, Function<Arg1objectSuperT, Arg1ExtendsU>, BinaryOperator<U>)

public static Collector<T, object, U> Reducing<T, U, Arg1objectSuperT, Arg1ExtendsU>(U arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1, BinaryOperator<U> arg2) where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 U

U

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

arg2 BinaryOperator<U>

BinaryOperator

Returns

Collector<T, object, U>

Collector

Type Parameters

T
U
Arg1objectSuperT

T

Arg1ExtendsU

U

SummarizingDouble<T, Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT>)

public static Collector<T, object, DoubleSummaryStatistics> SummarizingDouble<T, Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToDoubleFunction<Arg0objectSuperT>

ToDoubleFunction

Returns

Collector<T, object, DoubleSummaryStatistics>

Collector

Type Parameters

T
Arg0objectSuperT

T

SummarizingInt<T, Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT>)

public static Collector<T, object, IntSummaryStatistics> SummarizingInt<T, Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToIntFunction<Arg0objectSuperT>

ToIntFunction

Returns

Collector<T, object, IntSummaryStatistics>

Collector

Type Parameters

T
Arg0objectSuperT

T

SummarizingLong<T, Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT>)

public static Collector<T, object, LongSummaryStatistics> SummarizingLong<T, Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToLongFunction<Arg0objectSuperT>

ToLongFunction

Returns

Collector<T, object, LongSummaryStatistics>

Collector

Type Parameters

T
Arg0objectSuperT

T

SummingDouble<T, Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT>)

public static Collector<T, object, Double> SummingDouble<T, Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToDoubleFunction<Arg0objectSuperT>

ToDoubleFunction

Returns

Collector<T, object, Double>

Collector

Type Parameters

T
Arg0objectSuperT

T

SummingInt<T, Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT>)

public static Collector<T, object, Integer> SummingInt<T, Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToIntFunction<Arg0objectSuperT>

ToIntFunction

Returns

Collector<T, object, Integer>

Collector

Type Parameters

T
Arg0objectSuperT

T

SummingLong<T, Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT>)

public static Collector<T, object, Long> SummingLong<T, Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToLongFunction<Arg0objectSuperT>

ToLongFunction

Returns

Collector<T, object, Long>

Collector

Type Parameters

T
Arg0objectSuperT

T

ToCollection<T, C>(Supplier<C>)

public static Collector<T, object, C> ToCollection<T, C>(Supplier<C> arg0) where C : Collection<T>

Parameters

arg0 Supplier<C>

Supplier

Returns

Collector<T, object, C>

Collector

Type Parameters

T
C

Collection<E>

ToConcurrentMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>)

public static Collector<T, object, ConcurrentMap<K, U>> ToConcurrentMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

Returns

Collector<T, object, ConcurrentMap<K, U>>

Collector

Type Parameters

T
K
U
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

Arg1ExtendsU

U

ToConcurrentMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>, BinaryOperator<U>)

public static Collector<T, object, ConcurrentMap<K, U>> ToConcurrentMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1, BinaryOperator<U> arg2) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

arg2 BinaryOperator<U>

BinaryOperator

Returns

Collector<T, object, ConcurrentMap<K, U>>

Collector

Type Parameters

T
K
U
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

Arg1ExtendsU

U

ToConcurrentMap<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg1objectSuperT, Arg1ExtendsU, U>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>, BinaryOperator<U>, Supplier<M>)

public static Collector<T, object, M> ToConcurrentMap<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg1objectSuperT, Arg1ExtendsU, U>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1, BinaryOperator<U> arg2, Supplier<M> arg3) where M : ConcurrentMap<K, U> where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

arg2 BinaryOperator<U>

BinaryOperator

arg3 Supplier<M>

Supplier

Returns

Collector<T, object, M>

Collector

Type Parameters

T
M

ConcurrentMap<K, V>

Arg0objectSuperT

T

Arg0ExtendsK

K

K
Arg1objectSuperT

T

Arg1ExtendsU

U

U

ToList<T>()

public static Collector<T, object, List<T>> ToList<T>()

Returns

Collector<T, object, List<T>>

Collector

Type Parameters

T

ToMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>)

public static Collector<T, object, Map<K, U>> ToMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

Returns

Collector<T, object, Map<K, U>>

Collector

Type Parameters

T
K
U
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

Arg1ExtendsU

U

ToMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>, BinaryOperator<U>)

public static Collector<T, object, Map<K, U>> ToMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1, BinaryOperator<U> arg2) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

arg2 BinaryOperator<U>

BinaryOperator

Returns

Collector<T, object, Map<K, U>>

Collector

Type Parameters

T
K
U
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

Arg1ExtendsU

U

ToMap<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg1objectSuperT, Arg1ExtendsU, U>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>, BinaryOperator<U>, Supplier<M>)

public static Collector<T, object, M> ToMap<T, M, Arg0objectSuperT, Arg0ExtendsK, K, Arg1objectSuperT, Arg1ExtendsU, U>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1, BinaryOperator<U> arg2, Supplier<M> arg3) where M : Map<K, U> where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

arg2 BinaryOperator<U>

BinaryOperator

arg3 Supplier<M>

Supplier

Returns

Collector<T, object, M>

Collector

Type Parameters

T
M

Map<K, V>

Arg0objectSuperT

T

Arg0ExtendsK

K

K
Arg1objectSuperT

T

Arg1ExtendsU

U

U

ToSet<T>()

public static Collector<T, object, Set<T>> ToSet<T>()

Returns

Collector<T, object, Set<T>>

Collector

Type Parameters

T

ToUnmodifiableList<T>()

public static Collector<T, object, List<T>> ToUnmodifiableList<T>()

Returns

Collector<T, object, List<T>>

Collector

Type Parameters

T

ToUnmodifiableMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>)

public static Collector<T, object, Map<K, U>> ToUnmodifiableMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

Returns

Collector<T, object, Map<K, U>>

Collector

Type Parameters

T
K
U
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

Arg1ExtendsU

U

ToUnmodifiableMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK>, Function<Arg1objectSuperT, Arg1ExtendsU>, BinaryOperator<U>)

public static Collector<T, object, Map<K, U>> ToUnmodifiableMap<T, K, U, Arg0objectSuperT, Arg0ExtendsK, Arg1objectSuperT, Arg1ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsK> arg0, Function<Arg1objectSuperT, Arg1ExtendsU> arg1, BinaryOperator<U> arg2) where Arg0objectSuperT : T where Arg0ExtendsK : K where Arg1objectSuperT : T where Arg1ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsK>

Function

arg1 Function<Arg1objectSuperT, Arg1ExtendsU>

Function

arg2 BinaryOperator<U>

BinaryOperator

Returns

Collector<T, object, Map<K, U>>

Collector

Type Parameters

T
K
U
Arg0objectSuperT

T

Arg0ExtendsK

K

Arg1objectSuperT

T

Arg1ExtendsU

U

ToUnmodifiableSet<T>()

public static Collector<T, object, Set<T>> ToUnmodifiableSet<T>()

Returns

Collector<T, object, Set<T>>

Collector

Type Parameters

T