Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NavigableMap<K, V>

Type parameters

  • K

  • V

Hierarchy

  • JMap<K, V>
    • NavigableMap

Implemented by

Index

Methods

__@iterator

  • __@iterator(): Iterator<K>

ceilingEntry

  • Parameters

    • key: K

    Returns MapEntry<K, V>

    an entry with the least key greater than or equal to key, or null if there is no such key

ceilingKey

  • ceilingKey(key: K): K
  • Parameters

    • key: K

    Returns K

    the least key greater than or equal to key, or null if there is no such key

clear

  • clear(): void

containsKey

  • containsKey(key: K): boolean

containsValue

  • containsValue(value: V): boolean

entrySet

firstEntry

firstKey

  • firstKey(): K
  • Returns K

    the first (lowest) key currently in this map, returns null if the Map is empty

floorEntry

  • Parameters

    • key: K

    Returns MapEntry<K, V>

    an entry with the greatest key less than or equal to key, or null if there is no such key

floorKey

  • floorKey(key: K): K
  • Parameters

    • key: K

    Returns K

    the greatest key less than or equal to key, or null if there is no such key

get

  • get(key: K): V
  • Parameters

    • key: K

    Returns V

    the value to which the specified key is mapped, or undefined if this map contains no mapping for the key

higherEntry

  • Parameters

    • key: K

    Returns MapEntry<K, V>

    an entry with the least key greater than key, or null if there is no such key

higherKey

  • higherKey(key: K): K
  • Parameters

    • key: K

    Returns K

    the least key greater than key, or null if there is no such key

immutableMap

isEmpty

  • isEmpty(): boolean

keySet

lastEntry

lastKey

  • lastKey(): K
  • Returns K

    the last (highest) key currently in this map, returns null if the Map is empty

lowerEntry

  • Parameters

    • key: K

    Returns MapEntry<K, V>

    an entry with the highest key lower than key, or null if there is no such key

lowerKey

  • lowerKey(key: K): K
  • Parameters

    • key: K

    Returns K

    the highest key lower than key, or null if there is no such key

put

  • put(key: K, value: V): V
  • Parameters

    • key: K
    • value: V

    Returns V

    the previous value associated with key, or null if there was no mapping for key. (A null return can also indicate that the map previously associated null with key.)

remove

  • remove(key: K): V
  • Parameters

    • key: K

    Returns V

    the previous value associated with key, or null if there was no mapping for key. (A null return can also indicate that the map previously associated null with key.)

size

  • size(): number

Generated using TypeDoc