Class/Object

com.comcast.xfinity.sirius.util

RichJTreeMap

Related Docs: object RichJTreeMap | package util

Permalink

class RichJTreeMap[K, V] extends TreeMap[K, V]

A Java TreeMap with some functional style helpers for mutating the underling collection (contradictory eh?)

The JavaConversions stuff doesn't appear to have anything that allows us to mutate the underlying collection

Linear Supertypes
TreeMap[K, V], Serializable, Cloneable, NavigableMap[K, V], SortedMap[K, V], AbstractMap[K, V], Map[K, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichJTreeMap
  2. TreeMap
  3. Serializable
  4. Cloneable
  5. NavigableMap
  6. SortedMap
  7. AbstractMap
  8. Map
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class DescendingKeyIterator extends PrivateEntryIterator[K]

    Permalink
    Attributes
    private[java.util]
    Definition Classes
    TreeMap
  2. final class EntryIterator extends PrivateEntryIterator[Entry[K, V]]

    Permalink
    Attributes
    private[java.util]
    Definition Classes
    TreeMap
  3. class EntrySet extends AbstractSet[Entry[K, V]]

    Permalink
    Attributes
    private[java.util]
    Definition Classes
    TreeMap
  4. final class KeyIterator extends PrivateEntryIterator[K]

    Permalink
    Attributes
    private[java.util]
    Definition Classes
    TreeMap
  5. abstract class PrivateEntryIterator[T] extends Iterator[T]

    Permalink
    Attributes
    private[java.util]
    Definition Classes
    TreeMap
  6. final class ValueIterator extends PrivateEntryIterator[V]

    Permalink
    Attributes
    private[java.util]
    Definition Classes
    TreeMap
  7. class Values extends AbstractCollection[V]

    Permalink
    Attributes
    private[java.util]
    Definition Classes
    TreeMap

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def ceilingEntry(arg0: K): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  6. def ceilingKey(arg0: K): K

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  7. def clear(): Unit

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  8. def clone(): AnyRef

    Permalink
    Definition Classes
    TreeMap → AbstractMap → AnyRef
  9. def comparator(): Comparator[_ >: K]

    Permalink
    Definition Classes
    TreeMap → SortedMap
  10. def compute(arg0: K, arg1: BiFunction[_ >: K, _ >: V, _ <: V]): V

    Permalink
    Definition Classes
    Map
  11. def computeIfAbsent(arg0: K, arg1: Function[_ >: K, _ <: V]): V

    Permalink
    Definition Classes
    Map
  12. def computeIfPresent(arg0: K, arg1: BiFunction[_ >: K, _ >: V, _ <: V]): V

    Permalink
    Definition Classes
    Map
  13. def containsKey(arg0: Any): Boolean

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  14. def containsValue(arg0: Any): Boolean

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  15. def descendingKeySet(): NavigableSet[K]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  16. def descendingMap(): NavigableMap[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  17. def dropWhile(predicate: (K, V) ⇒ Boolean): Unit

    Permalink

    Remove elements from the beginning of the collection until predicate evaluates to false

    Remove elements from the beginning of the collection until predicate evaluates to false

    predicate

    a function to be applied to each key value pair in the map. All elements for which this function evaluates true up to the first element (not inclusive) for which it returns false are removed.

  18. def entrySet(): Set[Entry[K, V]]

    Permalink
    Definition Classes
    TreeMap → SortedMap → AbstractMap → Map
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AbstractMap → Map → AnyRef → Any
  21. def filter(predicate: (K, V) ⇒ Boolean): Unit

    Permalink

    Remove all elements from this collection not satisfying the predicate function

    Remove all elements from this collection not satisfying the predicate function

    predicate

    a function to be applied to each key value pair in the map. Only elements which for which this function evaluates to true are retained

  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def firstEntry(): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  24. def firstKey(): K

    Permalink
    Definition Classes
    TreeMap → SortedMap
  25. def floorEntry(arg0: K): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  26. def floorKey(arg0: K): K

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  27. def forEach(arg0: BiConsumer[_ >: K, _ >: V]): Unit

    Permalink
    Definition Classes
    TreeMap → Map
  28. def foreach(fun: (K, V) ⇒ Unit): Unit

    Permalink

    Apply an operation to each element in order

    Apply an operation to each element in order

    fun

    function to execute on each entry

  29. def get(arg0: Any): V

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  30. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  31. def getOrDefault(arg0: Any, arg1: V): V

    Permalink
    Definition Classes
    Map
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AbstractMap → Map → AnyRef → Any
  33. def headMap(arg0: K): SortedMap[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap → SortedMap
  34. def headMap(arg0: K, arg1: Boolean): NavigableMap[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  35. def higherEntry(arg0: K): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  36. def higherKey(arg0: K): K

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  37. def isEmpty(): Boolean

    Permalink
    Definition Classes
    AbstractMap → Map
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. def keySet(): Set[K]

    Permalink
    Definition Classes
    TreeMap → SortedMap → AbstractMap → Map
  40. def lastEntry(): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  41. def lastKey(): K

    Permalink
    Definition Classes
    TreeMap → SortedMap
  42. def lowerEntry(arg0: K): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  43. def lowerKey(arg0: K): K

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  44. def merge(arg0: K, arg1: V, arg2: BiFunction[_ >: V, _ >: V, _ <: V]): V

    Permalink
    Definition Classes
    Map
  45. def navigableKeySet(): NavigableSet[K]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  46. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  47. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  48. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  49. def pollFirstEntry(): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  50. def pollLastEntry(): Entry[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  51. def put(arg0: K, arg1: V): V

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  52. def putAll(arg0: Map[_ <: K, _ <: V]): Unit

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  53. def putIfAbsent(arg0: K, arg1: V): V

    Permalink
    Definition Classes
    Map
  54. def remove(arg0: Any): V

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  55. def remove(arg0: Any, arg1: Any): Boolean

    Permalink
    Definition Classes
    Map
  56. def replace(arg0: K, arg1: V): V

    Permalink
    Definition Classes
    TreeMap → Map
  57. def replace(arg0: K, arg1: V, arg2: V): Boolean

    Permalink
    Definition Classes
    TreeMap → Map
  58. def replaceAll(arg0: BiFunction[_ >: K, _ >: V, _ <: V]): Unit

    Permalink
    Definition Classes
    TreeMap → Map
  59. def size(): Int

    Permalink
    Definition Classes
    TreeMap → AbstractMap → Map
  60. def subMap(arg0: K, arg1: K): SortedMap[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap → SortedMap
  61. def subMap(arg0: K, arg1: Boolean, arg2: K, arg3: Boolean): NavigableMap[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def tailMap(arg0: K): SortedMap[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap → SortedMap
  64. def tailMap(arg0: K, arg1: Boolean): NavigableMap[K, V]

    Permalink
    Definition Classes
    TreeMap → NavigableMap
  65. def toString(): String

    Permalink
    Definition Classes
    AbstractMap → AnyRef → Any
  66. def values(): Collection[V]

    Permalink
    Definition Classes
    TreeMap → SortedMap → AbstractMap → Map
  67. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TreeMap[K, V]

Inherited from Serializable

Inherited from Cloneable

Inherited from NavigableMap[K, V]

Inherited from SortedMap[K, V]

Inherited from AbstractMap[K, V]

Inherited from Map[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped