Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for newLinkedList (0.26 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

        LinkedList<Integer> list = Lists.newLinkedList();
        assertEquals(Collections.emptyList(), list);
      }
    
      public void testNewLinkedListFromCollection() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION);
        assertEquals(SOME_COLLECTION, list);
      }
    
      public void testNewLinkedListFromIterable() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        LinkedList<Integer> list = Lists.newLinkedList();
        assertEquals(Collections.emptyList(), list);
      }
    
      public void testNewLinkedListFromCollection() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION);
        assertEquals(SOME_COLLECTION, list);
      }
    
      public void testNewLinkedListFromIterable() {
        LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterables.consumingIterable(Lists.newLinkedList(items)).iterator();
          }
        }.test();
      }
    
      public void testConsumingIterable_queue_removesFromQueue() {
        Queue<Integer> queue = Lists.newLinkedList(asList(5, 14));
    
        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterables.consumingIterable(Lists.newLinkedList(items)).iterator();
          }
        }.test();
      }
    
      public void testConsumingIterable_queue_removesFromQueue() {
        Queue<Integer> queue = Lists.newLinkedList(asList(5, 14));
    
        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/Collections2Test.java

    import static com.google.common.base.Strings.isNullOrEmpty;
    import static com.google.common.collect.Iterables.concat;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Lists.newLinkedList;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.nCopies;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/Collections2Test.java

    import static com.google.common.base.Strings.isNullOrEmpty;
    import static com.google.common.collect.Iterables.concat;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Lists.newLinkedList;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.nCopies;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

      private static final class OldExecutionList {
        static final Logger log = Logger.getLogger(OldExecutionList.class.getName());
        final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList();
        boolean executed = false;
    
        public void add(Runnable runnable, Executor executor) {
          Preconditions.checkNotNull(runnable, "Runnable was null.");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

       * taking advantage of <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       */
      @GwtCompatible(serializable = true)
      public static <E extends @Nullable Object> LinkedList<E> newLinkedList(
          Iterable<? extends E> elements) {
        LinkedList<E> list = newLinkedList();
        Iterables.addAll(list, elements);
        return list;
      }
    
      /**
       * Creates an empty {@code CopyOnWriteArrayList} instance.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

      private static final class OldExecutionList {
        static final Logger log = Logger.getLogger(OldExecutionList.class.getName());
        final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList();
        boolean executed = false;
    
        public void add(Runnable runnable, Executor executor) {
          Preconditions.checkNotNull(runnable, "Runnable was null.");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  10. .idea/inspectionProfiles/Gradle.xml

          </replaceConfiguration>
          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Lists.newLinkedList()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.LinkedList&lt;&gt;()">
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top