Class NavigableMap<K, V>
public class NavigableMap<K, V> : SortedMap<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, INavigableMap<K, V>, ISortedMap<K, V>, IMap<K, V>
Type Parameters
K
V
- Inheritance
-
JVMBridgeBase<Map<K, V>>Map<K, V>SortedMap<K, V>NavigableMap<K, V>
- Implements
-
INavigableMap<K, V>ISortedMap<K, V>IMap<K, V>
- Inherited Members
- Extension Methods
Constructors
NavigableMap()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("NavigableMap class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NavigableMap()
NavigableMap(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
[Obsolete("NavigableMap class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NavigableMap(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
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
DescendingKeySet()
public NavigableSet<K> DescendingKeySet()
Returns
DescendingMap()
public NavigableMap<K, V> DescendingMap()
Returns
- NavigableMap<K, V>
FirstEntry()
public Map.Entry<K, V> FirstEntry()
Returns
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()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/NavigableMap.html#lastEntry()
public Map.Entry<K, V> LastEntry()
Returns
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()
public Map.Entry<K, V> PollFirstEntry()
Returns
PollLastEntry()
public Map.Entry<K, V> PollLastEntry()
Returns
SubMap(K, bool, K, bool)
public NavigableMap<K, V> SubMap(K arg0, bool arg1, K arg2, bool arg3)
Parameters
Returns
- NavigableMap<K, V>
SubMap(K, K)
public SortedMap<K, V> SubMap(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 NavigableMap(NavigableMap<K, V>)
Converter from NavigableMap<K, V> to NavigableMap
public static implicit operator NavigableMap(NavigableMap<K, V> t)
Parameters
t
NavigableMap<K, V>