Class Sorter<O,​T,​V extends java.lang.Comparable<V>>

java.lang.Object
ru.bitel.common.model.Sorter<O,​T,​V>

public abstract class Sorter<O,​T,​V extends java.lang.Comparable<V>>
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    Sorter​(java.util.List<O> listOne, java.util.List<T> listTwo, boolean ascending)  
  • Method Summary

    Modifier and Type Method Description
    abstract V getFirstValue​(O o)  
    java.lang.Object getNext()  
    abstract V getSecondValue​(T t)  
    boolean hasNext()  
    void sort()  

    Methods inherited from class java.lang.Object

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

    • Sorter

      public Sorter​(java.util.List<O> listOne, java.util.List<T> listTwo, boolean ascending)
  • Method Details

    • getFirstValue

      public abstract V getFirstValue​(O o)
    • getSecondValue

      public abstract V getSecondValue​(T t)
    • sort

      public void sort()
    • hasNext

      public boolean hasNext()
    • getNext

      public java.lang.Object getNext()