Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for unmodifiableSet (0.1 sec)

  1. guava/src/com/google/common/graph/UndirectedGraphConnections.java

        return new UndirectedGraphConnections<>(ImmutableMap.copyOf(adjacentNodeValues));
      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(adjacentNodeValues.keySet());
      }
    
      @Override
      public Set<N> predecessors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<N> successors() {
        return adjacentNodes();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.synchronizedSet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.ConflictingRequirementsException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.ViewCachingAbstractMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

        return adjacentNodes();
      }
    
      @Override
      public Set<N> successors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<E> incidentEdges() {
        return Collections.unmodifiableSet(incidentEdgeMap.keySet());
      }
    
      @Override
      public Set<E> inEdges() {
        return incidentEdges();
      }
    
      @Override
      public Set<E> outEdges() {
        return incidentEdges();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

            this.extension = requireNonNull(extension, "extension");
            this.classifier = classifier;
            this.includesDependencies = includesDependencies;
            this.pathTypes = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(pathTypes)));
    
            Map<String, String> properties = new HashMap<>();
            properties.put(ArtifactProperties.TYPE, id);
            properties.put(ArtifactProperties.LANGUAGE, language.id());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.synchronizedSet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

        @Override
        protected Table<R, C, V> delegate() {
          return (Table<R, C, V>) delegate;
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          return Collections.unmodifiableSet(super.cellSet());
        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Headers.kt

      fun names(): Set<String> {
        val result = TreeSet(String.CASE_INSENSITIVE_ORDER)
        for (i in 0 until size) {
          result.add(name(i))
        }
        return Collections.unmodifiableSet(result)
      }
    
      /** Returns an immutable list of the header values for `name`. */
      fun values(name: String): List<String> = commonValues(name)
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            predecessorCount,
            successorCount);
      }
    
      @Override
      public Set<N> adjacentNodes() {
        if (orderedNodeConnections == null) {
          return Collections.unmodifiableSet(adjacentNodeValues.keySet());
        } else {
          return new AbstractSet<N>() {
            @Override
            public UnmodifiableIterator<N> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top