Class TreeMap<K, V>
public class TreeMap<K, V> : AbstractMap<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IMap<K, V>
Type Parameters
K
V
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Map<K, V>>Map<K, V>AbstractMap<K, V>TreeMap<K, V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIMap<K, V>
- Inherited Members
-
JVMBridgeBase<Map<K, V>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Map<K, V>>.IsAssignableFrom<T>()JVMBridgeBase<Map<K, V>>.Execute<T>(params T[])JVMBridgeBase<Map<K, V>>.DynBridgeClazzJVMBridgeBase<Map<K, V>>.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.Execute<T>(params T[])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
TreeMap()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public TreeMap()
TreeMap(Comparator<K>)
public TreeMap(Comparator<K> arg0)
Parameters
arg0
Comparator<K>
TreeMap(Map<K, V>)
public TreeMap(Map<K, V> arg0)
Parameters
TreeMap(SortedMap<K, V>)
public TreeMap(SortedMap<K, V> arg0)
Parameters
TreeMap(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 TreeMap(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
CeilingEntry(K)
public Map.Entry<K, V> CeilingEntry(K arg0)
Parameters
arg0
KK
Returns
CeilingKey(K)
public K CeilingKey(K arg0)
Parameters
arg0
KK
Returns
- K
K
Comparator<ReturnobjectSuperK>()
public Comparator<ReturnobjectSuperK> Comparator<ReturnobjectSuperK>() where ReturnobjectSuperK : K
Returns
- Comparator<ReturnobjectSuperK>
Type Parameters
ReturnobjectSuperK
K
DescendingKeySet()
public NavigableSet<K> DescendingKeySet()
Returns
DescendingMap()
public NavigableMap<K, V> DescendingMap()
Returns
- NavigableMap<K, V>
FirstEntry()
public Map.Entry<K, V> FirstEntry()
Returns
FirstKey()
public K FirstKey()
Returns
- K
K
FloorEntry(K)
public Map.Entry<K, V> FloorEntry(K arg0)
Parameters
arg0
KK
Returns
FloorKey(K)
public K FloorKey(K arg0)
Parameters
arg0
KK
Returns
- K
K
HeadMap(K)
public SortedMap<K, V> HeadMap(K arg0)
Parameters
arg0
KK
Returns
HeadMap(K, bool)
public NavigableMap<K, V> HeadMap(K arg0, bool arg1)
Parameters
Returns
- NavigableMap<K, V>
HigherEntry(K)
public Map.Entry<K, V> HigherEntry(K arg0)
Parameters
arg0
KK
Returns
HigherKey(K)
public K HigherKey(K arg0)
Parameters
arg0
KK
Returns
- K
K
LastEntry()
public Map.Entry<K, V> LastEntry()
Returns
LastKey()
public K LastKey()
Returns
- K
K
LowerEntry(K)
public Map.Entry<K, V> LowerEntry(K arg0)
Parameters
arg0
KK
Returns
LowerKey(K)
public K LowerKey(K arg0)
Parameters
arg0
KK
Returns
- K
K
NavigableKeySet()
public NavigableSet<K> NavigableKeySet()
Returns
PollFirstEntry()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/TreeMap.html#pollFirstEntry()
public Map.Entry<K, V> PollFirstEntry()
Returns
PollLastEntry()
public Map.Entry<K, V> PollLastEntry()
Returns
SubMapMethod(K, bool, K, bool)
public NavigableMap<K, V> SubMapMethod(K arg0, bool arg1, K arg2, bool arg3)
Parameters
Returns
- NavigableMap<K, V>
SubMapMethod(K, K)
public SortedMap<K, V> SubMapMethod(K arg0, K arg1)
Parameters
arg0
KK
arg1
KK
Returns
TailMap(K)
public SortedMap<K, V> TailMap(K arg0)
Parameters
arg0
KK
Returns
TailMap(K, bool)
public NavigableMap<K, V> TailMap(K arg0, bool arg1)
Parameters
Returns
- NavigableMap<K, V>
Operators
implicit operator Serializable(TreeMap<K, V>)
Converter from TreeMap<K, V> to Serializable
public static implicit operator Serializable(TreeMap<K, V> t)
Parameters
t
TreeMap<K, V>
Returns
implicit operator Cloneable(TreeMap<K, V>)
Converter from TreeMap<K, V> to Cloneable
public static implicit operator Cloneable(TreeMap<K, V> t)
Parameters
t
TreeMap<K, V>
Returns
implicit operator NavigableMap<K, V>(TreeMap<K, V>)
Converter from TreeMap<K, V> to NavigableMap<K, V>
public static implicit operator NavigableMap<K, V>(TreeMap<K, V> t)
Parameters
t
TreeMap<K, V>
Returns
- NavigableMap<K, V>
implicit operator TreeMap(TreeMap<K, V>)
Converter from TreeMap<K, V> to TreeMap
public static implicit operator TreeMap(TreeMap<K, V> t)
Parameters
t
TreeMap<K, V>