Class SortHelper<K,​E>


  • public class SortHelper<K,​E>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SortHelper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int add​(K key, E value)  
      void clear()  
      java.util.List<E> getList()  
      void sort()  
      • Methods inherited from class java.lang.Object

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

      • SortHelper

        public SortHelper()
    • Method Detail

      • clear

        public void clear()
      • add

        public int add​(K key,
                       E value)
                throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • sort

        public void sort()
      • getList

        public java.util.List<E> getList()