Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 80 for LinkedList (0.11 seconds)

  1. 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> if {@code elements} is a {@link Collection}, you don't need this method. Use
       * the {@code LinkedList} {@linkplain LinkedList#LinkedList(Collection) constructor} directly,
       * taking advantage of <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  2. 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 {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class Graph {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

            .createTestSuite();
      }
    
      // We are testing LinkedList / testing our tests on LinkedList.
      @SuppressWarnings("JdkObsolete")
      public Test testsForLinkedList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return new LinkedList<>(MinimalCollection.of(elements));
                  }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

            .createTestSuite();
      }
    
      // We are testing LinkedList / testing our tests on LinkedList.
      @SuppressWarnings("JdkObsolete")
      public Test testsForLinkedList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return new LinkedList<>(MinimalCollection.of(elements));
                  }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. 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);
                }
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

                      protected Collection<String> create(String[] elements) {
                        return new StandardImplForwardingCollection<>(
                            new LinkedList<>(asList(elements)));
                      }
                    })
                .named("ForwardingCollection[LinkedList] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 4.8K bytes
    - Click Count (1)
  7. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

                      @Override
                      protected Queue<String> create(String[] elements) {
                        return new StandardImplForwardingQueue<>(new LinkedList<>(asList(elements)));
                      }
                    })
                .named("ForwardingQueue[LinkedList] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. 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<>();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * Creates and returns a new instance of {@link LinkedList}.
         *
         * @param <E> the element type of {@link LinkedList}
         * @return a new instance of {@link LinkedList}
         * @see LinkedList#LinkedList()
         */
        public static <E> LinkedList<E> newLinkedList() {
            return new LinkedList<>();
        }
    
        /**
         * Creates and returns a new instance of {@link LinkedList}.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  10. .teamcity/src/test/kotlin/SplitBucketTest.kt

    import model.splitIntoBuckets
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    import java.util.LinkedList
    
    /*
     * Copyright 2024 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top