Class Collector<T, A, R>
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
-
JVMBridgeBaseJVMBridgeBase<Collector<T, A, R>>Collector<T, A, R>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionICollector<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>>.DynBridgeClazzJVMBridgeBase<Collector<T, A, R>>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Accumulator()
public BiConsumer<A, T> Accumulator()
Returns
- BiConsumer<A, T>
AccumulatorDirect()
public BiConsumer<A, T> AccumulatorDirect()
Returns
- BiConsumer<A, T>
CharacteristicsMethod()
public Set<Collector.Characteristics> CharacteristicsMethod()
Returns
Combiner()
public BinaryOperator<A> Combiner()
Returns
CombinerDirect()
public BinaryOperator<A> CombinerDirect()
Returns
Finisher()
public Function<A, R> Finisher()
Returns
FinisherDirect()
public Function<A, R> FinisherDirect()
Returns
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>arg1
BiConsumer<A, T>arg2
BinaryOperator<A>arg3
Function<A, R>arg4
Characteristics[]
Returns
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>arg1
BiConsumer<R, T>arg2
BinaryOperator<R>arg3
Characteristics[]
Returns
Supplier()
public Supplier<A> Supplier()
Returns
SupplierDirect()
public Supplier<A> SupplierDirect()
Returns
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>