Class AbstractInputsSorting<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Comparator<? super T> comparator  
      protected java.util.Iterator<T>[] sources  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractInputsSorting​(java.util.Collection<? extends java.util.Iterator<T>> sources, java.util.Comparator<? super T> comparator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int compare​(T t1, T t2)  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining, hasNext, next, remove
    • Field Detail

      • sources

        protected final java.util.Iterator<T>[] sources
      • comparator

        protected final java.util.Comparator<? super T> comparator
    • Constructor Detail

      • AbstractInputsSorting

        public AbstractInputsSorting​(java.util.Collection<? extends java.util.Iterator<T>> sources,
                                     java.util.Comparator<? super T> comparator)
    • Method Detail

      • compare

        protected final int compare​(T t1,
                                    T t2)