Class CollectionUtils
public class CollectionUtils : JVMBridgeBase<CollectionUtils>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
CollectionUtils
- Implements
- Inherited Members
-
JVMBridgeBase<CollectionUtils>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])
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
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
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>
Returns
Type Parameters
T
Arg0ExtendsT
T
GroupPartitionsByTopic(Collection<TopicPartition>)
public static Map<String, List<Integer>> GroupPartitionsByTopic(Collection<TopicPartition> arg0)
Parameters
Returns
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>arg1
Function<String, T>arg2
BiConsumer<T, Integer>
Returns
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
Returns
Type Parameters
K
V
Arg0ExtendsK
K
Arg0ExtendsV
V
Arg1ExtendsK
K
Arg1ExtendsV
V