Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,613 for collections (0.24 sec)

  1. android/guava/src/com/google/common/graph/StandardNetwork.java

      }
    
      final NetworkConnections<N, E> checkedConnections(N node) {
        NetworkConnections<N, E> connections = nodeConnections.get(node);
        if (connections == null) {
          checkNotNull(node);
          throw new IllegalArgumentException(String.format(NODE_NOT_IN_GRAPH, node));
        }
        return connections;
      }
    
      final N checkedReferenceNode(E edge) {
        N referenceNode = edgeToReferenceNode.get(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/StandardNetwork.java

      }
    
      final NetworkConnections<N, E> checkedConnections(N node) {
        NetworkConnections<N, E> connections = nodeConnections.get(node);
        if (connections == null) {
          checkNotNull(node);
          throw new IllegalArgumentException(String.format(NODE_NOT_IN_GRAPH, node));
        }
        return connections;
      }
    
      final N checkedReferenceNode(E edge) {
        N referenceNode = edgeToReferenceNode.get(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

        Set<K> ks = keySet;
        return (ks != null) ? ks : (keySet = new KeySet());
      }
    
      @LazyInit @RetainedWith @CheckForNull Collection<V> values;
    
      @Override
      public Collection<V> values() {
        // does not impact recency ordering
        Collection<V> vs = values;
        return (vs != null) ? vs : (values = new Values());
      }
    
      @LazyInit @RetainedWith @CheckForNull Set<Entry<K, V>> entrySet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        //
        //  2. EVICTABLE: Connections not required by any address policy. This matches connections that
        //     don't participate in any policy, plus connections whose policies won't be violated if the
        //     connection is closed. We only close these if the idle connection limit is exceeded.
        //
        // Also count the evictable connections to find out if we must close an EVICTABLE connection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

         * @param target
         * @param indices
         * @param source
         * @return InputLocation
         */
        public static InputLocation merge(
                InputLocation target, InputLocation source, java.util.Collection<Integer> indices) {
            if (source == null) {
                return target;
            } else if (target == null) {
                return source;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          C c = (C) object;
          return range.contains(c);
        } catch (ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return Collections2.containsAllImpl(this, targets);
      }
    
      @Override
      public boolean isEmpty() {
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        extends AbstractContainerTester<Collection<E>, E> {
    
      // TODO: replace this with an accessor.
      protected Collection<E> collection;
    
      @Override
      protected Collection<E> actualContents() {
        return collection;
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected Collection<E> resetContainer(Collection<E> newContents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.IOException;
    import java.lang.reflect.Field;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     *
     * <p>{@link org.apache.maven.api.Node} is the main output of the <dfn>dependency collection</dfn> process.
     * it's the graph of dependencies. The above-cited {@code Dependency} instances are the outputs of the
     * collection process, part of the graph computed from one or more {@code DependencyCoordinates}.</p>
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

          }
        };
    
        abstract Object operate(Stream<?> stream);
      }
    
      @Param private Operation operation;
    
      Collection<Object> collection;
    
      @BeforeExperiment
      void setUp() {
        collection = source.supplier.get();
        for (int i = 0; i < size; i++) {
          collection.add(new Object());
        }
      }
    
      @Benchmark
      int runOperation(int reps) {
        int result = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top