Class Data.Comparator<Type0 extends java.lang.Comparable<Type0>,​Type1 extends java.lang.Comparable<Type1>>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<Data<Type0,​Type1>>
    Enclosing class:
    Data<Type0 extends java.lang.Comparable<Type0>,​Type1 extends java.lang.Comparable<Type1>>

    public static class Data.Comparator<Type0 extends java.lang.Comparable<Type0>,​Type1 extends java.lang.Comparable<Type1>>
    extends java.lang.Object
    implements java.io.Serializable, java.util.Comparator<Data<Type0,​Type1>>
    Created by khayyzy on 5/28/16.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Comparator​(boolean asc1, boolean asc2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(Data o1, Data o2)  
      • Methods inherited from class java.lang.Object

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

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • Comparator

        public Comparator​(boolean asc1,
                          boolean asc2)
    • Method Detail

      • compare

        public int compare​(Data o1,
                           Data o2)
        Specified by:
        compare in interface java.util.Comparator<Type0 extends java.lang.Comparable<Type0>>