Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for LinkedList (0.07 sec)

  1. guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = Lists.newLinkedList();
    
        for (int i = 0; i < size; i++) {
          Object value = new Object();
          array[i] = value;
          arrayList.add(value);
          linkedList.add(value);
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = Lists.newLinkedList();
    
        for (int i = 0; i < size; i++) {
          Object value = new Object();
          array[i] = value;
          arrayList.add(value);
          linkedList.add(value);
        }
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    
    class DocBookBuilder {
        final LinkedList<Element> stack = new LinkedList<Element>();
        final Document document;
    
        DocBookBuilder(Document document) {
            this.document = document;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DefaultGenerationListener.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.util.LinkedList;
    
    public class DefaultGenerationListener implements GenerationListener {
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultGenerationListener.class);
        private final LinkedList<String> contextStack = new LinkedList<String>();
    
        @Override
        public void warning(String message) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        private static final Logger log = LoggerFactory.getLogger(SmbTransportPoolImpl.class);
    
        private final List<SmbTransportImpl> connections = new LinkedList<>();
        private final List<SmbTransportImpl> nonPooledConnections = new LinkedList<>();
        private final ConcurrentLinkedQueue<SmbTransportImpl> toRemove = new ConcurrentLinkedQueue<>();
        final Map<String, Integer> failCounts = new ConcurrentHashMap<>();
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top