Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for newLinkedList (0.07 sec)

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

        LinkedList<Integer> list = Lists.newLinkedList();
        assertEquals(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);
        assertEquals(SOME_COLLECTION, list);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        LinkedList<Integer> list = Lists.newLinkedList();
        assertEquals(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);
        assertEquals(SOME_COLLECTION, list);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. 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();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

      @GwtCompatible(serializable = true)
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          throws Exception {
        IteratorTester<T> tester =
            new IteratorTester<T>(
                steps,
                IteratorFeature.MODIFIABLE,
                Lists.newLinkedList(values),
                IteratorTester.KnownOrder.UNKNOWN_ORDER) {
              private @Nullable MinMaxPriorityQueue<T> mmHeap;
    
              @Override
              protected Iterator<T> newTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          throws Exception {
        IteratorTester<T> tester =
            new IteratorTester<T>(
                steps,
                IteratorFeature.MODIFIABLE,
                Lists.newLinkedList(values),
                IteratorTester.KnownOrder.UNKNOWN_ORDER) {
              private @Nullable MinMaxPriorityQueue<T> mmHeap;
    
              @Override
              protected Iterator<T> newTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top