Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for generateOrdering (0.06 sec)

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            return string;
          }
        };
      }
    
      // collect
      @Generates
      <T> Comparator<T> generateComparator() {
        return generateOrdering();
      }
    
      @Generates
      <T extends @Nullable Object> Ordering<T> generateOrdering() {
        return new Ordering<T>() {
          @Override
          @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
          public int compare(T left, T right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            return string;
          }
        };
      }
    
      // collect
      @Generates
      <T> Comparator<T> generateComparator() {
        return generateOrdering();
      }
    
      @Generates
      <T extends @Nullable Object> Ordering<T> generateOrdering() {
        return new Ordering<T>() {
          @Override
          @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
          public int compare(T left, T right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top