Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AllEqualOrdering (0.11 sec)

  1. android/guava/src/com/google/common/collect/AllEqualOrdering.java

    /**
     * An ordering that treats all references as equals, even nulls.
     *
     * @author Emily Soldal
     */
    @GwtCompatible
    final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable {
      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@Nullable Object left, @Nullable Object right) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

       * cases you may need to cast that to {@code Comparator<YourType>}).
       *
       * @since 13.0
       */
      public static Ordering<@Nullable Object> allEqual() {
        return AllEqualOrdering.INSTANCE;
      }
    
      /**
       * Returns an ordering that compares objects by the natural ordering of their string
       * representations as returned by {@code toString()}. It does not support null values.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top