Home
last modified time | relevance | path

Searched refs:newLinkedList (Results 1 – 25 of 42) sorted by relevance

12

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DListsTest.java76 = Lists.newLinkedList(asList(1, 2, 3, 4));
172 LinkedList<Integer> list = Lists.newLinkedList(); in testNewLinkedListEmpty()
177 LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); in testNewLinkedListFromCollection()
182 LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE); in testNewLinkedListFromIterable()
271 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testReverseViewSequential()
383 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testTransformModifiableSequential()
412 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testTransformViewSequential()
455 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testTransformListIteratorSequential()
521 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testTransformIteratorSequential()
599 List<Integer> source = Lists.newLinkedList(asList(1, 2, 3)); in testPartitionRandomAccessFalse()
DIterablesTest.java439 Iterable<Integer> source = Lists.newLinkedList(asList(1, 2, 3));
988 List<String> list = Lists.newLinkedList(asList("a", "b", "c", "d", "e"));
1067 return Iterables.consumingIterable(Lists.newLinkedList(items))
1074 Queue<Integer> queue = Lists.newLinkedList(asList(5, 14));
1089 new UnIterableQueue<Integer>(Lists.newLinkedList(asList(5, 14)));
1205 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1210 List<Integer> list = Lists.newLinkedList();
1223 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1227 List<Integer> list = Lists.newLinkedList();
1246 assertEquals(Lists.newLinkedList(expected),
[all …]
/external/jcommander/src/main/java/com/beust/jcommander/internal/
DLists.java45 public static <K> LinkedList<K> newLinkedList() { in newLinkedList() method in Lists
49 public static <K> LinkedList<K> newLinkedList(Collection<K> c) { in newLinkedList() method in Lists
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DTreeTraverser.java80 this.stack = Lists.newLinkedList();
140 this.stack = Lists.newLinkedList();
186 this.queue = Lists.newLinkedList();
DBinaryTreeTraverser.java109 this.stack = Lists.newLinkedList();
DLists.java229 public static <E> LinkedList<E> newLinkedList() { in newLinkedList() method in Lists
254 public static <E> LinkedList<E> newLinkedList( in newLinkedList() method in Lists
256 LinkedList<E> list = newLinkedList(); in newLinkedList()
/external/guava/guava-tests/test/com/google/common/collect/
DListsTest.java93 = Lists.newLinkedList(asList(1, 2, 3, 4));
162 List<String> fromList = Lists.newLinkedList(); in suite()
192 Lists.newLinkedList(asList(elements)); in suite()
227 List<String> list = Lists.newLinkedList(); in suite()
341 LinkedList<Integer> list = Lists.newLinkedList(); in testNewLinkedListEmpty()
346 LinkedList<Integer> list = Lists.newLinkedList(SOME_COLLECTION); in testNewLinkedListFromCollection()
351 LinkedList<Integer> list = Lists.newLinkedList(SOME_ITERABLE); in testNewLinkedListFromIterable()
495 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testReverseViewSequential()
607 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testTransformModifiableSequential()
636 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testTransformViewSequential()
[all …]
DIterablesTest.java473 Iterable<Integer> source = Lists.newLinkedList(asList(1, 2, 3));
498 Iterable<Integer> source = Lists.newLinkedList(asList(1, 2, 3));
1073 List<String> list = Lists.newLinkedList(asList("a", "b", "c", "d", "e"));
1171 return Iterables.consumingIterable(Lists.newLinkedList(items))
1178 Queue<Integer> queue = Lists.newLinkedList(asList(5, 14));
1193 new UnIterableQueue<Integer>(Lists.newLinkedList(asList(5, 14)));
1309 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1314 List<Integer> list = Lists.newLinkedList();
1327 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1331 List<Integer> list = Lists.newLinkedList();
[all …]
DComputingConcurrentHashMapTest.java111 List<ReferenceEntry<Object, Object>> writeOrder = Lists.newLinkedList(); in testRecordReadOnCompute()
112 List<ReferenceEntry<Object, Object>> readOrder = Lists.newLinkedList(); in testRecordReadOnCompute()
DForwardingQueueTest.java118 Lists.newLinkedList(asList(elements))); in suite()
DForwardingCollectionTest.java107 Lists.newLinkedList(asList(elements))); in suite()
DSynchronizedQueueTest.java40 private final Queue<E> delegate = Lists.newLinkedList();
DCollections2Test.java21 import static com.google.common.collect.Lists.newLinkedList;
135 List<String> unfiltered = newLinkedList();
DSynchronizedDequeTest.java40 private final Deque<E> delegate = Lists.newLinkedList();
DConstraintsTest.java200 List<String> list = Lists.newLinkedList(asList("foo", "bar")); in testConstrainedListRandomAccessFalse()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DAlternateNamesForListArgs.java31 public List<String> serverNames = Lists.newLinkedList();
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoaderTest.java40 private LinkedList<Runnable> tasks = Lists.newLinkedList();
/external/guava/guava/src/com/google/thirdparty/publicsuffix/
DTrieParser.java44 Lists.<CharSequence>newLinkedList(), in parseTrie()
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlSanitizer.java133 LinkedList<String> attrs = Lists.newLinkedList(); in sanitize()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DIteratorBenchmark.java42 linkedList = Lists.newLinkedList(); in setUp()
/external/guava/guava/src/com/google/common/collect/
DLists.java231 public static <E> LinkedList<E> newLinkedList() { in newLinkedList() method in Lists
256 public static <E> LinkedList<E> newLinkedList( in newLinkedList() method in Lists
258 LinkedList<E> list = newLinkedList(); in newLinkedList()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DAllocationInstrumentTest.java87 List<Object> list = Lists.newLinkedList();
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/binding/editors/controls/
DAbstractControlActionsManager.java157 private final List<IHandlerActivation> m_activations = Lists.newLinkedList();
/external/guice/core/src/com/google/inject/internal/
DSingletonScope.java280 List<Key<?>> lockedKeysToFind = Lists.newLinkedList(lockedKeys); in scope()
/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java303 assertValueAndTypeEquals(newLinkedList(new FreshValueGenerator().generate(String.class)), in testLinkedList()
728 private static <E> LinkedList<E> newLinkedList(E element) { in newLinkedList() method in FreshValueGeneratorTest
729 LinkedList<E> list = Lists.newLinkedList(); in newLinkedList()

12