类 Country.ComparatorPY

  • 所有已实现的接口:
    java.util.Comparator<Country>
    封闭类:
    Country

    public static class Country.ComparatorPY
    extends java.lang.Object
    implements java.util.Comparator<Country>
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int compare​(Country lhs, Country rhs)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • 构造器详细资料

      • ComparatorPY

        public ComparatorPY()
    • 方法详细资料

      • compare

        public int compare​(Country lhs,
                           Country rhs)
        指定者:
        compare 在接口中 java.util.Comparator<Country>