Class Collections
public class Collections : JVMBridgeBase<Collections>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Collections>Collections
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Collections>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])JVMBridgeBase<Collections>.IsAssignableFrom(IJavaType)JVMBridgeBase<Collections>.IsAssignableFrom<T>()JVMBridgeBase<Collections>.Execute<T>(params T[])JVMBridgeBase<Collections>.DynBridgeClazzJVMBridgeBase<Collections>.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
Collections()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Collections()
Collections(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 Collections(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
EMPTY_LIST
public static List EMPTY_LIST { get; }
Property Value
EMPTY_MAP
public static Map EMPTY_MAP { get; }
Property Value
EMPTY_SET
public static Set EMPTY_SET { 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
AddAll<Arg0objectSuperT, T>(Collection<Arg0objectSuperT>, params T[])
public static bool AddAll<Arg0objectSuperT, T>(Collection<Arg0objectSuperT> arg0, params T[] arg1) where Arg0objectSuperT : T
Parameters
arg0
Collection<Arg0objectSuperT>arg1
T[]T
Returns
Type Parameters
Arg0objectSuperT
T
T
AsLifoQueue<T>(Deque<T>)
public static Queue<T> AsLifoQueue<T>(Deque<T> arg0)
Parameters
Returns
Type Parameters
T
BinarySearch<Arg0ExtendsT, T, Arg2objectSuperT>(List<Arg0ExtendsT>, T, Comparator<Arg2objectSuperT>)
public static int BinarySearch<Arg0ExtendsT, T, Arg2objectSuperT>(List<Arg0ExtendsT> arg0, T arg1, Comparator<Arg2objectSuperT> arg2) where Arg0ExtendsT : T where Arg2objectSuperT : T
Parameters
arg0
List<Arg0ExtendsT>arg1
TT
arg2
Comparator<Arg2objectSuperT>
Returns
Type Parameters
Arg0ExtendsT
T
T
Arg2objectSuperT
T
BinarySearch<Arg0ExtendsJava_Lang_Comparable_Arg0objectSuperT_, Arg0objectSuperT, T>(List<Arg0ExtendsJava_Lang_Comparable_Arg0objectSuperT_>, T)
public static int BinarySearch<Arg0ExtendsJava_Lang_Comparable_Arg0objectSuperT_, Arg0objectSuperT, T>(List<Arg0ExtendsJava_Lang_Comparable_Arg0objectSuperT_> arg0, T arg1) where Arg0ExtendsJava_Lang_Comparable_Arg0objectSuperT_ : Comparable<Arg0objectSuperT> where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0ExtendsJava_Lang_Comparable_Arg0objectSuperT_
Arg0objectSuperT
T
T
CheckedCollectionMethod<E>(Collection<E>, Class)
public static Collection<E> CheckedCollectionMethod<E>(Collection<E> arg0, Class arg1)
Parameters
arg0
Collection<E>arg1
Class
Returns
Type Parameters
E
CheckedListMethod<E>(List<E>, Class)
public static List<E> CheckedListMethod<E>(List<E> arg0, Class arg1)
Parameters
Returns
Type Parameters
E
CheckedMapMethod<K, V>(Map<K, V>, Class, Class)
public static Map<K, V> CheckedMapMethod<K, V>(Map<K, V> arg0, Class arg1, Class arg2)
Parameters
Returns
Type Parameters
K
V
CheckedNavigableMapMethod<K, V>(NavigableMap<K, V>, Class, Class)
public static NavigableMap<K, V> CheckedNavigableMapMethod<K, V>(NavigableMap<K, V> arg0, Class arg1, Class arg2)
Parameters
arg0
NavigableMap<K, V>arg1
Classarg2
Class
Returns
- NavigableMap<K, V>
Type Parameters
K
V
CheckedNavigableSetMethod<E>(NavigableSet<E>, Class)
public static NavigableSet<E> CheckedNavigableSetMethod<E>(NavigableSet<E> arg0, Class arg1)
Parameters
arg0
NavigableSet<E>arg1
Class
Returns
Type Parameters
E
CheckedQueueMethod<E>(Queue<E>, Class)
public static Queue<E> CheckedQueueMethod<E>(Queue<E> arg0, Class arg1)
Parameters
Returns
Type Parameters
E
CheckedSetMethod<E>(Set<E>, Class)
public static Set<E> CheckedSetMethod<E>(Set<E> arg0, Class arg1)
Parameters
Returns
Type Parameters
E
CheckedSortedMapMethod<K, V>(SortedMap<K, V>, Class, Class)
public static SortedMap<K, V> CheckedSortedMapMethod<K, V>(SortedMap<K, V> arg0, Class arg1, Class arg2)
Parameters
Returns
Type Parameters
K
V
CheckedSortedSetMethod<E>(SortedSet<E>, Class)
public static SortedSet<E> CheckedSortedSetMethod<E>(SortedSet<E> arg0, Class arg1)
Parameters
Returns
Type Parameters
E
Copy<Arg0objectSuperT, T, Arg1ExtendsT>(List<Arg0objectSuperT>, List<Arg1ExtendsT>)
public static void Copy<Arg0objectSuperT, T, Arg1ExtendsT>(List<Arg0objectSuperT> arg0, List<Arg1ExtendsT> arg1) where Arg0objectSuperT : T where Arg1ExtendsT : T
Parameters
Type Parameters
Arg0objectSuperT
T
T
Arg1ExtendsT
T
Disjoint(Collection<object>, Collection<object>)
public static bool Disjoint(Collection<object> arg0, Collection<object> arg1)
Parameters
arg0
Collection<object>arg1
Collection<object>
Returns
EmptyEnumerationMethod<T>()
public static Enumeration<T> EmptyEnumerationMethod<T>()
Returns
Type Parameters
T
EmptyIteratorMethod<T>()
public static Iterator<T> EmptyIteratorMethod<T>()
Returns
Type Parameters
T
EmptyIterator<T>()
public static Iterator<T> EmptyIterator<T>()
Returns
Type Parameters
T
EmptyListIteratorMethod<T>()
public static ListIterator<T> EmptyListIteratorMethod<T>()
Returns
Type Parameters
T
EmptyListIterator<T>()
public static ListIterator<T> EmptyListIterator<T>()
Returns
Type Parameters
T
EmptyListMethod<T>()
public static List<T> EmptyListMethod<T>()
Returns
Type Parameters
T
EmptyList<T>()
public static List<T> EmptyList<T>()
Returns
Type Parameters
T
EmptyMapMethod<K, V>()
public static Map<K, V> EmptyMapMethod<K, V>()
Returns
Type Parameters
K
V
EmptyMap<K, V>()
public static Map<K, V> EmptyMap<K, V>()
Returns
Type Parameters
K
V
EmptyNavigableMap<K, V>()
public static NavigableMap<K, V> EmptyNavigableMap<K, V>()
Returns
- NavigableMap<K, V>
Type Parameters
K
V
EmptyNavigableSet<E>()
public static NavigableSet<E> EmptyNavigableSet<E>()
Returns
Type Parameters
E
EmptySetMethod<T>()
public static Set<T> EmptySetMethod<T>()
Returns
Type Parameters
T
EmptySet<T>()
public static Set<T> EmptySet<T>()
Returns
Type Parameters
T
EmptySortedMap<K, V>()
public static SortedMap<K, V> EmptySortedMap<K, V>()
Returns
Type Parameters
K
V
EmptySortedSet<E>()
public static SortedSet<E> EmptySortedSet<E>()
Returns
Type Parameters
E
Enumeration<T>(Collection<T>)
public static Enumeration<T> Enumeration<T>(Collection<T> arg0)
Parameters
arg0
Collection<T>
Returns
Type Parameters
T
Fill<Arg0objectSuperT, T>(List<Arg0objectSuperT>, T)
public static void Fill<Arg0objectSuperT, T>(List<Arg0objectSuperT> arg0, T arg1) where Arg0objectSuperT : T
Parameters
Type Parameters
Arg0objectSuperT
T
T
Frequency(Collection<object>, object)
public static int Frequency(Collection<object> arg0, object arg1)
Parameters
arg0
Collection<object>arg1
object
Returns
IndexOfSubList(List<object>, List<object>)
public static int IndexOfSubList(List<object> arg0, List<object> arg1)
Parameters
Returns
LastIndexOfSubList(List<object>, List<object>)
public static int LastIndexOfSubList(List<object> arg0, List<object> arg1)
Parameters
Returns
List<T>(Enumeration<T>)
public static ArrayList<T> List<T>(Enumeration<T> arg0)
Parameters
arg0
Enumeration<T>
Returns
Type Parameters
T
Max<T, Arg0ExtendsT>(Collection<Arg0ExtendsT>)
public static T Max<T, Arg0ExtendsT>(Collection<Arg0ExtendsT> arg0) where Arg0ExtendsT : T
Parameters
arg0
Collection<Arg0ExtendsT>
Returns
- T
T
Type Parameters
T
Arg0ExtendsT
T
Max<T, Arg0ExtendsT, Arg1objectSuperT>(Collection<Arg0ExtendsT>, Comparator<Arg1objectSuperT>)
public static T Max<T, Arg0ExtendsT, Arg1objectSuperT>(Collection<Arg0ExtendsT> arg0, Comparator<Arg1objectSuperT> arg1) where Arg0ExtendsT : T where Arg1objectSuperT : T
Parameters
arg0
Collection<Arg0ExtendsT>arg1
Comparator<Arg1objectSuperT>
Returns
- T
T
Type Parameters
T
Arg0ExtendsT
T
Arg1objectSuperT
T
Min<T, Arg0ExtendsT>(Collection<Arg0ExtendsT>)
public static T Min<T, Arg0ExtendsT>(Collection<Arg0ExtendsT> arg0) where Arg0ExtendsT : T
Parameters
arg0
Collection<Arg0ExtendsT>
Returns
- T
T
Type Parameters
T
Arg0ExtendsT
T
Min<T, Arg0ExtendsT, Arg1objectSuperT>(Collection<Arg0ExtendsT>, Comparator<Arg1objectSuperT>)
public static T Min<T, Arg0ExtendsT, Arg1objectSuperT>(Collection<Arg0ExtendsT> arg0, Comparator<Arg1objectSuperT> arg1) where Arg0ExtendsT : T where Arg1objectSuperT : T
Parameters
arg0
Collection<Arg0ExtendsT>arg1
Comparator<Arg1objectSuperT>
Returns
- T
T
Type Parameters
T
Arg0ExtendsT
T
Arg1objectSuperT
T
NCopies<T>(int, T)
public static List<T> NCopies<T>(int arg0, T arg1)
Parameters
Returns
Type Parameters
T
NewSetFromMap<E>(Map<E, Boolean>)
public static Set<E> NewSetFromMap<E>(Map<E, Boolean> arg0)
Parameters
Returns
Type Parameters
E
ReplaceAll<T>(List<T>, T, T)
public static bool ReplaceAll<T>(List<T> arg0, T arg1, T arg2)
Parameters
Returns
Type Parameters
T
Reverse(List<object>)
public static void Reverse(List<object> arg0)
Parameters
ReverseOrder<T>()
public static Comparator<T> ReverseOrder<T>()
Returns
Type Parameters
T
ReverseOrder<T>(Comparator<T>)
public static Comparator<T> ReverseOrder<T>(Comparator<T> arg0)
Parameters
arg0
Comparator<T>
Returns
Type Parameters
T
Rotate(List<object>, int)
public static void Rotate(List<object> arg0, int arg1)
Parameters
Shuffle(List<object>)
public static void Shuffle(List<object> arg0)
Parameters
Shuffle(List<object>, Random)
public static void Shuffle(List<object> arg0, Random arg1)
Parameters
SingletonListMethod<T>(T)
public static List<T> SingletonListMethod<T>(T arg0)
Parameters
arg0
TT
Returns
Type Parameters
T
SingletonList<E>(E)
public static List<E> SingletonList<E>(E element)
Parameters
element
E
Returns
Type Parameters
E
SingletonMapMethod<K, V>(K, V)
public static Map<K, V> SingletonMapMethod<K, V>(K arg0, V arg1)
Parameters
arg0
KK
arg1
VV
Returns
Type Parameters
K
V
SingletonMap<K, V>(K, V)
public static Map<K, V> SingletonMap<K, V>(K key, V value)
Parameters
key
Kvalue
V
Returns
Type Parameters
K
V
Singleton<T>(T)
public static Set<T> Singleton<T>(T arg0)
Parameters
arg0
TT
Returns
Type Parameters
T
Sort<T>(List<T>)
public static void Sort<T>(List<T> arg0)
Parameters
Type Parameters
T
Sort<T, Arg1objectSuperT>(List<T>, Comparator<Arg1objectSuperT>)
public static void Sort<T, Arg1objectSuperT>(List<T> arg0, Comparator<Arg1objectSuperT> arg1) where Arg1objectSuperT : T
Parameters
arg0
List<T>arg1
Comparator<Arg1objectSuperT>
Type Parameters
T
Arg1objectSuperT
T
Swap(List<object>, int, int)
public static void Swap(List<object> arg0, int arg1, int arg2)
Parameters
SynchronizedCollectionMethod<T>(Collection<T>)
public static Collection<T> SynchronizedCollectionMethod<T>(Collection<T> arg0)
Parameters
arg0
Collection<T>
Returns
Type Parameters
T
SynchronizedListMethod<T>(List<T>)
public static List<T> SynchronizedListMethod<T>(List<T> arg0)
Parameters
Returns
Type Parameters
T
SynchronizedMapMethod<K, V>(Map<K, V>)
public static Map<K, V> SynchronizedMapMethod<K, V>(Map<K, V> arg0)
Parameters
Returns
Type Parameters
K
V
SynchronizedNavigableMapMethod<K, V>(NavigableMap<K, V>)
public static NavigableMap<K, V> SynchronizedNavigableMapMethod<K, V>(NavigableMap<K, V> arg0)
Parameters
arg0
NavigableMap<K, V>
Returns
- NavigableMap<K, V>
Type Parameters
K
V
SynchronizedNavigableSetMethod<T>(NavigableSet<T>)
public static NavigableSet<T> SynchronizedNavigableSetMethod<T>(NavigableSet<T> arg0)
Parameters
arg0
NavigableSet<T>
Returns
Type Parameters
T
SynchronizedSetMethod<T>(Set<T>)
public static Set<T> SynchronizedSetMethod<T>(Set<T> arg0)
Parameters
Returns
Type Parameters
T
SynchronizedSortedMapMethod<K, V>(SortedMap<K, V>)
public static SortedMap<K, V> SynchronizedSortedMapMethod<K, V>(SortedMap<K, V> arg0)
Parameters
Returns
Type Parameters
K
V
SynchronizedSortedSetMethod<T>(SortedSet<T>)
public static SortedSet<T> SynchronizedSortedSetMethod<T>(SortedSet<T> arg0)
Parameters
Returns
Type Parameters
T
UnmodifiableCollectionMethod<T, Arg0ExtendsT>(Collection<Arg0ExtendsT>)
public static Collection<T> UnmodifiableCollectionMethod<T, Arg0ExtendsT>(Collection<Arg0ExtendsT> arg0) where Arg0ExtendsT : T
Parameters
arg0
Collection<Arg0ExtendsT>
Returns
Type Parameters
T
Arg0ExtendsT
T
UnmodifiableListMethod<T, Arg0ExtendsT>(List<Arg0ExtendsT>)
public static List<T> UnmodifiableListMethod<T, Arg0ExtendsT>(List<Arg0ExtendsT> arg0) where Arg0ExtendsT : T
Parameters
Returns
Type Parameters
T
Arg0ExtendsT
T
UnmodifiableMapMethod<K, V, Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV>)
public static Map<K, V> UnmodifiableMapMethod<K, V, Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV> arg0) where Arg0ExtendsK : K where Arg0ExtendsV : V
Parameters
Returns
Type Parameters
K
V
Arg0ExtendsK
K
Arg0ExtendsV
V
UnmodifiableNavigableMapMethod<K, V, Arg0ExtendsV>(NavigableMap<K, Arg0ExtendsV>)
public static NavigableMap<K, V> UnmodifiableNavigableMapMethod<K, V, Arg0ExtendsV>(NavigableMap<K, Arg0ExtendsV> arg0) where Arg0ExtendsV : V
Parameters
arg0
NavigableMap<K, Arg0ExtendsV>
Returns
- NavigableMap<K, V>
Type Parameters
K
V
Arg0ExtendsV
V
UnmodifiableNavigableSetMethod<T>(NavigableSet<T>)
public static NavigableSet<T> UnmodifiableNavigableSetMethod<T>(NavigableSet<T> arg0)
Parameters
arg0
NavigableSet<T>
Returns
Type Parameters
T
UnmodifiableSetMethod<T, Arg0ExtendsT>(Set<Arg0ExtendsT>)
public static Set<T> UnmodifiableSetMethod<T, Arg0ExtendsT>(Set<Arg0ExtendsT> arg0) where Arg0ExtendsT : T
Parameters
Returns
Type Parameters
T
Arg0ExtendsT
T
UnmodifiableSortedMapMethod<K, V, Arg0ExtendsV>(SortedMap<K, Arg0ExtendsV>)
public static SortedMap<K, V> UnmodifiableSortedMapMethod<K, V, Arg0ExtendsV>(SortedMap<K, Arg0ExtendsV> arg0) where Arg0ExtendsV : V
Parameters
Returns
Type Parameters
K
V
Arg0ExtendsV
V
UnmodifiableSortedSetMethod<T>(SortedSet<T>)
public static SortedSet<T> UnmodifiableSortedSetMethod<T>(SortedSet<T> arg0)
Parameters
Returns
Type Parameters
T