Class Functions.NullsLastComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<java.lang.Comparable>
    Enclosing class:
    Functions

    private static class Functions.NullsLastComparator
    extends java.lang.Object
    implements java.util.Comparator<java.lang.Comparable>, java.io.Serializable
    Nulls last comparator.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NullsLastComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Comparable o1, java.lang.Comparable 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

      • NullsLastComparator

        private NullsLastComparator()
    • Method Detail

      • compare

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