Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for LinkedList (0.17 sec)

  1. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

                        return new StandardImplForwardingQueue<>(Lists.newLinkedList(asList(elements)));
                      }
                    })
                .named("ForwardingQueue[LinkedList] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return new LinkedList<>(MinimalCollection.of(elements));
                  }
                })
            .named("LinkedList")
            .withFeatures(
                ListFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 11.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          return value.getValue();
        } else {
          statsCounter.recordEviction();
          statsCounter.recordMisses(1);
          // `key` was in the cache, so it's a K.
          // (Or it's a weird case like a LinkedList in a Cache<ArrayList, ...>, but *shrug*.)
          @SuppressWarnings("unchecked")
          K castKey = (K) key;
          alertListenerIfPresent(castKey, value.getValue(), RemovalCause.EXPIRED);
          cachingHashMap.remove(key);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int RESPONSE_TIMEOUT =
                    Config.getInt( "jcifs.smb1.smb.client.responseTimeout", DEFAULT_RESPONSE_TIMEOUT );
    
        static final LinkedList CONNECTIONS = new LinkedList();
    
        static final int SSN_LIMIT =
                Config.getInt( "jcifs.smb1.smb.client.ssnLimit", DEFAULT_SSN_LIMIT );
        static final int SO_TIMEOUT =
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Enumeration;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.concurrent.CopyOnWriteArrayList;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      private static class ListSupplier extends CountingSupplier<LinkedList<Integer>> {
        @Override
        public LinkedList<Integer> getImpl() {
          return new LinkedList<>();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      public void testNewListMultimap() {
        CountingSupplier<LinkedList<Integer>> factory = new ListSupplier();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  8. 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
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 03 19:39:41 GMT 2016
    - 2.8K bytes
    - Viewed (0)
  9. 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;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import java.util.BitSet;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Currency;
    import java.util.Deque;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Optional;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
Back to top