Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for valueComparator (0.11 sec)

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

        assertSame(Ordering.natural(), copyFromSorted.valueComparator());
        assertSame(Ordering.natural(), copyFromSorted.get(1.0).comparator());
      }
    
      public void testComparators() {
        TreeMultimap<String, Integer> multimap = TreeMultimap.create();
        assertEquals(Ordering.natural(), multimap.keyComparator());
        assertEquals(Ordering.natural(), multimap.valueComparator());
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          @CheckForNull Comparator<? super V> valueComparator, Collection<? extends V> values) {
        return (valueComparator == null)
            ? ImmutableSet.copyOf(values)
            : ImmutableSortedSet.copyOf(valueComparator, values);
      }
    
      private static <V> ImmutableSet<V> emptySet(@CheckForNull Comparator<? super V> valueComparator) {
        return (valueComparator == null)
            ? ImmutableSet.<V>of()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          @CheckForNull Comparator<? super V> valueComparator, Collection<? extends V> values) {
        return (valueComparator == null)
            ? ImmutableSet.copyOf(values)
            : ImmutableSortedSet.copyOf(valueComparator, values);
      }
    
      private static <V> ImmutableSet<V> emptySet(@CheckForNull Comparator<? super V> valueComparator) {
        return (valueComparator == null)
            ? ImmutableSet.<V>of()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableListMultimap.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
          super.orderValuesBy(valueComparator);
          return this;
        }
    
        /** Returns a newly-created immutable list multimap. */
        @Override
        public ImmutableListMultimap<K, V> build() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
          super.orderValuesBy(valueComparator);
          return this;
        }
    
        /** Returns a newly-created immutable list multimap. */
        @Override
        public ImmutableListMultimap<K, V> build() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

         * @since 19.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          super.orderEntriesByValue(valueComparator);
          return this;
        }
    
        @Override
        @CanIgnoreReturnValue
        Builder<K, V> combine(ImmutableMap.Builder<K, V> builder) {
          super.combine(builder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

         * @since 19.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          checkState(this.valueComparator == null, "valueComparator was already set");
          this.valueComparator = checkNotNull(valueComparator, "valueComparator");
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

         * @since 19.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          checkState(this.valueComparator == null, "valueComparator was already set");
          this.valueComparator = checkNotNull(valueComparator, "valueComparator");
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
          this.valueComparator = checkNotNull(valueComparator);
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          if (other.builderMap != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableBiMap.java

         * @since 19.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          super.orderEntriesByValue(valueComparator);
          return this;
        }
    
        @Override
        @CanIgnoreReturnValue
        Builder<K, V> combine(ImmutableMap.Builder<K, V> builder) {
          super.combine(builder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top