Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 35 of 35 for valueComparator (0.23 seconds)

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

            return delegate().replaceValues(key, values); // copy not synchronized
          }
        }
    
        @Override
        public @Nullable Comparator<? super V> valueComparator() {
          synchronized (mutex) {
            return delegate().valueComparator();
          }
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

            Map<K, V> map, Comparator<? super V> valueComparator) {
          Ordering<K> keyOrdering =
              new Ordering<K>() {
                @Override
                public int compare(K left, K right) {
                  // requireNonNull is safe because we are passing keys in the map.
                  return valueComparator.compare(
                      requireNonNull(map.get(left)), requireNonNull(map.get(right)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        SortedSetMultimap<String, Integer> multimap = synchronizedSortedSetMultimap(delegate);
        checkUnmodifiableMultimap(multimap, false, "null", 42);
        assertThat(multimap.valueComparator()).isEqualTo(INT_COMPARATOR);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableSynchronizedTreeMultimap() {
        TreeMultimap<String, Integer> delegate =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

         */
        @CanIgnoreReturnValue
        @Override
        @Deprecated
        @DoNotCall("Always throws UnsupportedOperationException")
        public final Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          throw new UnsupportedOperationException("Not available on ImmutableSortedMap.Builder");
        }
    
        /*
         * While the current implementation returns `this`, that's not something we mean to guarantee.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         */
        @CanIgnoreReturnValue
        @Override
        @Deprecated
        @DoNotCall("Always throws UnsupportedOperationException")
        public final Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          throw new UnsupportedOperationException("Not available on ImmutableSortedMap.Builder");
        }
    
        /*
         * While the current implementation returns `this`, that's not something we mean to guarantee.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
Back to Top