Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 82 for ImmutableCollection (0.08 seconds)

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

          Collection<? extends Map.Entry<K, ImmutableCollection.Builder<V>>> mapEntries,
          @Nullable Comparator<? super V> valueComparator) {
        if (mapEntries.isEmpty()) {
          return of();
        }
        ImmutableMap.Builder<K, ImmutableSet<V>> builder =
            new ImmutableMap.Builder<>(mapEntries.size());
        int size = 0;
    
        for (Entry<K, ImmutableCollection.Builder<V>> entry : mapEntries) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

          Object readResolve() {
            return map.keySet();
          }
    
          @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
        }
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        return new Values<>(this);
      }
    
      private static final class Values<K, V> extends ImmutableList<V> {
        final RegularImmutableMap<K, V> map;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link RangeMap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @GwtIncompatible // NavigableMap
    public class ImmutableRangeMap<K extends Comparable<?>, V> implements RangeMap<K, V>, Serializable {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          Collection<? extends Map.Entry<K, ImmutableCollection.Builder<V>>> mapEntries,
          @Nullable Comparator<? super V> valueComparator) {
        if (mapEntries.isEmpty()) {
          return of();
        }
        ImmutableMap.Builder<K, ImmutableSet<V>> builder =
            new ImmutableMap.Builder<>(mapEntries.size());
        int size = 0;
    
        for (Entry<K, ImmutableCollection.Builder<V>> entry : mapEntries) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      /**
       * Returns an immutable collection of the values in this map, sorted by the ordering of the
       * corresponding keys.
       */
      @Override
      public ImmutableCollection<V> values() {
        return valueList;
      }
    
      @Override
      ImmutableCollection<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
    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)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

    import java.util.stream.Collectors;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link BiMap} whose contents will never change, with many other important properties detailed
     * at {@link ImmutableCollection}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ImmutableBiMap<K, V> extends ImmutableMap<K, V> implements BiMap<K, V> {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Iterables.java

      public static <T extends @Nullable Object> Iterable<T> unmodifiableIterable(
          Iterable<? extends T> iterable) {
        checkNotNull(iterable);
        if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        @Override
        @J2ktIncompatible
        @GwtIncompatible
            Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @SuppressWarnings("unchecked")
      @Override
      ImmutableCollection<V> createValues() {
        return (ImmutableList<V>) new KeysOrValuesAsList(alternatingKeysAndValues, 1, size);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

      public static <T extends @Nullable Object> Iterable<T> unmodifiableIterable(
          Iterable<? extends T> iterable) {
        checkNotNull(iterable);
        if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Collections2;
    import com.google.common.collect.ImmutableCollection;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSetMultimap;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
Back to Top