Class SortedListImpl<V>

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

    public class SortedListImpl<V>
    extends java.lang.Object
    implements SortedList<V>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(V data)  
      java.util.List<V> biggerOrEquals​(int v)  
      java.util.Iterator<V> iterator()  
      java.util.List<V> lesserOrEquals​(int v)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • SortedListImpl

        public SortedListImpl​(Measurer<V> m)
    • Method Detail

      • add

        public void add​(V data)
        Specified by:
        add in interface SortedList<V>
      • iterator

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