Table of Contents

Class CollectionUtils

Namespace
Org.Apache.Kafka.Common.Utils
Assembly
MASES.KNet.dll
public class CollectionUtils : JVMBridgeBase<CollectionUtils>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<CollectionUtils>
CollectionUtils
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<CollectionUtils>.IsAssignableFrom(IJavaType)
JVMBridgeBase<CollectionUtils>.IsAssignableFrom<T>()
JVMBridgeBase<CollectionUtils>.Execute<T>(params T[])
JVMBridgeBase<CollectionUtils>.DynBridgeClazz
JVMBridgeBase<CollectionUtils>.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

Constructors

CollectionUtils()

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

public CollectionUtils()

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

GroupPartitionDataByTopic<T, Arg0ExtendsT>(Map<TopicPartition, Arg0ExtendsT>)

public static Map<String, Map<Integer, T>> GroupPartitionDataByTopic<T, Arg0ExtendsT>(Map<TopicPartition, Arg0ExtendsT> arg0) where Arg0ExtendsT : T

Parameters

arg0 Map<TopicPartition, Arg0ExtendsT>

Map

Returns

Map<String, Map<Integer, T>>

Map

Type Parameters

T
Arg0ExtendsT

T

GroupPartitionsByTopic(Collection<TopicPartition>)

public static Map<String, List<Integer>> GroupPartitionsByTopic(Collection<TopicPartition> arg0)

Parameters

arg0 Collection<TopicPartition>

Collection

Returns

Map<String, List<Integer>>

Map

GroupPartitionsByTopic<T>(Collection<TopicPartition>, Function<String, T>, BiConsumer<T, Integer>)

public static Map<String, T> GroupPartitionsByTopic<T>(Collection<TopicPartition> arg0, Function<String, T> arg1, BiConsumer<T, Integer> arg2)

Parameters

arg0 Collection<TopicPartition>

Collection

arg1 Function<String, T>

Function

arg2 BiConsumer<T, Integer>

BiConsumer

Returns

Map<String, T>

Map

Type Parameters

T

SubtractMap<K, V, Arg0ExtendsK, Arg0ExtendsV, Arg1ExtendsK, Arg1ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV>, Map<Arg1ExtendsK, Arg1ExtendsV>)

public static Map<K, V> SubtractMap<K, V, Arg0ExtendsK, Arg0ExtendsV, Arg1ExtendsK, Arg1ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV> arg0, Map<Arg1ExtendsK, Arg1ExtendsV> arg1) where Arg0ExtendsK : K where Arg0ExtendsV : V where Arg1ExtendsK : K where Arg1ExtendsV : V

Parameters

arg0 Map<Arg0ExtendsK, Arg0ExtendsV>

Map

arg1 Map<Arg1ExtendsK, Arg1ExtendsV>

Map

Returns

Map<K, V>

Map

Type Parameters

K
V
Arg0ExtendsK

K

Arg0ExtendsV

V

Arg1ExtendsK

K

Arg1ExtendsV

V