Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UsingToStringOrdering (0.1 sec)

  1. guava/src/com/google/common/collect/UsingToStringOrdering.java

    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class UsingToStringOrdering extends Ordering<Object> implements Serializable {
      static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering();
    
      @Override
      public int compare(Object left, Object right) {
        return left.toString().compareTo(right.toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

       *
       * <p><b>Java 8+ users:</b> Use {@code Comparator.comparing(Object::toString)} instead.
       */
      @GwtCompatible(serializable = true)
      public static Ordering<Object> usingToString() {
        return UsingToStringOrdering.INSTANCE;
      }
    
      /**
       * Returns an arbitrary ordering over all objects, for which {@code compare(a, b) == 0} implies
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Ordering.java

       *
       * <p><b>Java 8+ users:</b> Use {@code Comparator.comparing(Object::toString)} instead.
       */
      @GwtCompatible(serializable = true)
      public static Ordering<Object> usingToString() {
        return UsingToStringOrdering.INSTANCE;
      }
    
      /**
       * Returns an arbitrary ordering over all objects, for which {@code compare(a, b) == 0} implies
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top