Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ArbitraryOrdering (0.27 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals("Ordering.arbitrary()", arbitrary.toString());
      }
    
      @J2ktIncompatible // ArbitraryOrdering
      public void testArbitrary_withCollisions() {
        List<Integer> list = Lists.newArrayList();
        for (int i = 0; i < 50; i++) {
          list.add(i);
        }
    
        Ordering<Object> arbitrary =
            new ArbitraryOrdering() {
              @Override
              int identityHashCode(Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals("Ordering.arbitrary()", arbitrary.toString());
      }
    
      @J2ktIncompatible // ArbitraryOrdering
      public void testArbitrary_withCollisions() {
        List<Integer> list = Lists.newArrayList();
        for (int i = 0; i < 50; i++) {
          list.add(i);
        }
    
        Ordering<Object> arbitrary =
            new ArbitraryOrdering() {
              @Override
              int identityHashCode(Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

      }
    
      @J2ktIncompatible // MapMaker
      private static class ArbitraryOrderingHolder {
        static final Ordering<@Nullable Object> ARBITRARY_ORDERING = new ArbitraryOrdering();
      }
    
      @J2ktIncompatible // MapMaker
      @VisibleForTesting
      static class ArbitraryOrdering extends Ordering<@Nullable Object> {
    
        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

      }
    
      @J2ktIncompatible // MapMaker
      private static class ArbitraryOrderingHolder {
        static final Ordering<@Nullable Object> ARBITRARY_ORDERING = new ArbitraryOrdering();
      }
    
      @J2ktIncompatible // MapMaker
      @VisibleForTesting
      static class ArbitraryOrdering extends Ordering<@Nullable Object> {
    
        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
    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