@Test public void testGreaterThan() throws Exception { assertFalse(InetAddressComparator.greaterThan(address1, address3)); assertFalse(InetAddressComparator.greaterThan(address2, address3)); }
public static boolean greaterThan(InetAddress address1, InetAddress address2) { return INET_ADDRESS_COMPARATOR.compare(address1, address2) == 1; }
InetAddressComparator implements Comparator<InetAddress>, Serializable { public static boolean greaterThan(InetAddress address1, InetAddress address2) { return INET_ADDRESS_COMPARATOR.compare(address1, address2) == 1; } }
InetAddressComparator implements Comparator<InetAddress>, Serializable { public static boolean greaterThan(InetAddress address1, InetAddress address2) { return INET_ADDRESS_COMPARATOR.compare(address1, address2) == 1; }  }
InetAddressComparator implements Comparator<InetAddress>, Serializable { public static boolean greaterThan(InetAddress address1, InetAddress address2) { return INET_ADDRESS_COMPARATOR.compare(address1, address2) == 1; }  static boolean greaterThan(InetAddress address1, InetAddress address2); @Override int compare(InetAddress address1, InetAddress address2); }
InetAddressComparator implements Comparator<InetAddress>, Serializable { public static boolean greaterThan(InetAddress address1, InetAddress address2) { return INET_ADDRESS_COMPARATOR.compare(address1, address2) == 1; }  static boolean greaterThan(InetAddress address1, InetAddress address2); @Override int compare(InetAddress address1, InetAddress address2);  }