Class SortedRegistry<V>

java.lang.Object
com.gtnewhorizon.structurelib.util.SortedRegistry<V>
All Implemented Interfaces:
Iterable<V>

public class SortedRegistry<V> extends Object implements Iterable<V>
  • Constructor Details

    • SortedRegistry

      public SortedRegistry()
  • Method Details

    • register

      public void register(String key, V val)
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • containsKey

      public boolean containsKey(String key)
    • containsValue

      public boolean containsValue(V value)
    • get

      public V get(String key)
    • iterator

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

      public void forEach(Consumer<? super V> action)
      Specified by:
      forEach in interface Iterable<V>
    • spliterator

      public Spliterator<V> spliterator()
      Specified by:
      spliterator in interface Iterable<V>