Class HashFieldMap.FieldComparator

  • All Implemented Interfaces:
    java.util.Comparator<Field<?>>
    Enclosing class:
    HashFieldMap<T>

    private static class HashFieldMap.FieldComparator
    extends java.lang.Object
    implements java.util.Comparator<Field<?>>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FieldComparator()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static int compare​(int x, int y)  
      int compare​(Field<?> o1, Field<?> 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

      • FieldComparator

        private FieldComparator()
    • Method Detail

      • compare

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

        public static int compare​(int x,
                                  int y)