Class SortedRegistry<V>

  • All Implemented Interfaces:
    java.lang.Iterable<V>

    public class SortedRegistry<V>
    extends java.lang.Object
    implements java.lang.Iterable<V>
    • Constructor Summary

      Constructors 
      Constructor Description
      SortedRegistry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsKey​(java.lang.String key)  
      boolean containsValue​(V value)  
      void forEach​(java.util.function.Consumer<? super V> action)  
      V get​(java.lang.String key)  
      boolean isEmpty()  
      java.util.Iterator<V> iterator()  
      void register​(java.lang.String key, V val)  
      int size()  
      java.util.Spliterator<V> spliterator()  
      • Methods inherited from class java.lang.Object

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

      • SortedRegistry

        public SortedRegistry()
    • Method Detail

      • register

        public void register​(java.lang.String key,
                             V val)
      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • containsKey

        public boolean containsKey​(java.lang.String key)
      • containsValue

        public boolean containsValue​(V value)
      • get

        public V get​(java.lang.String key)
      • iterator

        public java.util.Iterator<V> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<V>
      • forEach

        public void forEach​(java.util.function.Consumer<? super V> action)
        Specified by:
        forEach in interface java.lang.Iterable<V>
      • spliterator

        public java.util.Spliterator<V> spliterator()
        Specified by:
        spliterator in interface java.lang.Iterable<V>