Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for LinkedList (0.17 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

     */
    package org.apache.maven.internal.impl;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    
    class Graph {
        private enum DfsState {
            VISITING,
            VISITED
        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.LinkedList;
    import java.util.NoSuchElementException;
    import java.util.function.Supplier;
    import java.util.stream.Stream;
    
    /**
     * Test stream operation speed.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Lists.java

       * outperform {@code LinkedList} except in certain rare and specific situations. Unless you have
       * spent a lot of time benchmarking your specific needs, use one of those instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code LinkedList} {@linkplain LinkedList#LinkedList() constructor} directly, taking
       * advantage of <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *         to formal types through a method invocation conversion).
         */
        private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) {
            LinkedList<Method> list = new LinkedList<>();
    
            for (Method method : methods) {
                if (isApplicable(method, classes)) {
                    list.add(method);
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/TearDownStack.java

      private static final Logger logger = Logger.getLogger(TearDownStack.class.getName());
    
      @VisibleForTesting final Object lock = new Object();
    
      @GuardedBy("lock")
      final LinkedList<TearDown> stack = new LinkedList<>();
    
      private final boolean suppressThrows;
    
      public TearDownStack() {
        this.suppressThrows = false;
      }
    
      public TearDownStack(boolean suppressThrows) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      private static final Logger logger = Logger.getLogger(TearDownStack.class.getName());
    
      @VisibleForTesting final Object lock = new Object();
    
      @GuardedBy("lock")
      final LinkedList<TearDown> stack = new LinkedList<>();
    
      private final boolean suppressThrows;
    
      public TearDownStack() {
        this.suppressThrows = false;
      }
    
      public TearDownStack(boolean suppressThrows) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

     */
    package org.apache.maven.model.building;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class Graph {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

    import java.lang.reflect.Array;
    import java.lang.reflect.Field;
    import java.security.AccessController;
    import java.security.PrivilegedAction;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    import java.util.WeakHashMap;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.project.ProjectBuilderConfiguration;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    return new LinkedList<>(MinimalCollection.of(elements));
                  }
                })
            .named("LinkedList")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.KNOWN_ORDER,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top