Class CollectionUtils
public class CollectionUtils : JVMBridgeBase<CollectionUtils>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<CollectionUtils>CollectionUtils
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<CollectionUtils>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])JVMBridgeBase<CollectionUtils>.IsAssignableFrom(IJavaType)JVMBridgeBase<CollectionUtils>.IsAssignableFrom<T>()JVMBridgeBase<CollectionUtils>.Execute<T>(params T[])JVMBridgeBase<CollectionUtils>.DynBridgeClazzJVMBridgeBase<CollectionUtils>.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
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
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
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