Table of Contents

Class Collector<T, A, R>

Namespace
Java.Util.Stream
Assembly
MASES.JNet.dll
public class Collector<T, A, R> : JVMBridgeBase<Collector<T, A, R>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICollector<T, A, R>

Type Parameters

T
A
R
Inheritance
JVMBridgeBase
JVMBridgeBase<Collector<T, A, R>>
Collector<T, A, R>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
ICollector<T, A, R>
Inherited Members
JVMBridgeBase<Collector<T, A, R>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Collector<T, A, R>>.IsAssignableFrom<T>()
JVMBridgeBase<Collector<T, A, R>>.Execute<T>(params T[])
JVMBridgeBase<Collector<T, A, R>>.DynBridgeClazz
JVMBridgeBase<Collector<T, A, R>>.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

Collector()

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

[Obsolete("Collector class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Collector()

Collector(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

[Obsolete("Collector class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Collector(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

Accumulator()

public BiConsumer<A, T> Accumulator()

Returns

BiConsumer<A, T>

BiConsumer

AccumulatorDirect()

public BiConsumer<A, T> AccumulatorDirect()

Returns

BiConsumer<A, T>

BiConsumer

CharacteristicsMethod()

public Set<Collector.Characteristics> CharacteristicsMethod()

Returns

Set<Collector.Characteristics>

Set

Combiner()

public BinaryOperator<A> Combiner()

Returns

BinaryOperator<A>

BinaryOperator

CombinerDirect()

public BinaryOperator<A> CombinerDirect()

Returns

BinaryOperator<A>

BinaryOperator

Finisher()

public Function<A, R> Finisher()

Returns

Function<A, R>

Function

FinisherDirect()

public Function<A, R> FinisherDirect()

Returns

Function<A, R>

Function

Of(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Function<A, R>, params Characteristics[])

public static Collector<T, A, R> Of(Supplier<A> arg0, BiConsumer<A, T> arg1, BinaryOperator<A> arg2, Function<A, R> arg3, params Collector.Characteristics[] arg4)

Parameters

arg0 Supplier<A>

Supplier

arg1 BiConsumer<A, T>

BiConsumer

arg2 BinaryOperator<A>

BinaryOperator

arg3 Function<A, R>

Function

arg4 Characteristics[]

Collector.Characteristics

Returns

Collector<T, A, R>

Collector

Of(Supplier<R>, BiConsumer<R, T>, BinaryOperator<R>, params Characteristics[])

public static Collector<T, R, R> Of(Supplier<R> arg0, BiConsumer<R, T> arg1, BinaryOperator<R> arg2, params Collector.Characteristics[] arg3)

Parameters

arg0 Supplier<R>

Supplier

arg1 BiConsumer<R, T>

BiConsumer

arg2 BinaryOperator<R>

BinaryOperator

arg3 Characteristics[]

Collector.Characteristics

Returns

Collector<T, R, R>

Collector

Supplier()

public Supplier<A> Supplier()

Returns

Supplier<A>

Supplier

SupplierDirect()

public Supplier<A> SupplierDirect()

Returns

Supplier<A>

Supplier

Operators

implicit operator Collector(Collector<T, A, R>)

Converter from Collector<T, A, R> to Collector

public static implicit operator Collector(Collector<T, A, R> t)

Parameters

t Collector<T, A, R>

Returns

Collector