Class RedBlackTree<K extends java.lang.Comparable<K>,​V>


  • public class RedBlackTree<K extends java.lang.Comparable<K>,​V>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RedBlackTree()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsKey​(K key)  
      void delete​(K key)  
      V get​(K key)  
      boolean isEmpty()  
      void put​(K key, V value)  
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RedBlackTree

        public RedBlackTree()
    • Method Detail

      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • put

        public void put​(K key,
                        V value)
      • get

        public V get​(K key)
      • containsKey

        public boolean containsKey​(K key)
      • delete

        public void delete​(K key)