Searched refs:arrayList (Results 1 – 9 of 9) sorted by relevance
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | IteratorBenchmark.java | 36 ArrayList<Object> arrayList; field in IteratorBenchmark 41 arrayList = Lists.newArrayListWithCapacity(size); in setUp() 47 arrayList.add(value); in setUp() 86 sum += arrayList.get(index).hashCode(); in arrayListIndexed() 95 for (int index = 0; index < arrayList.size(); index++) { in arrayListIndexedLength() 96 sum += arrayList.get(index).hashCode(); in arrayListIndexedLength() 105 for (Object value : arrayList) { in arrayListFor() 115 for (Object value : arrayList.toArray()) { in arrayListToArrayFor()
|
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
D | ImmutableListTypeAdatperFactory.java | 56 ArrayList<?> arrayList = Lists.newArrayList((List<?>) value); in create() 57 arrayListAdapter.write(out, arrayList); in create() 61 ArrayList<?> arrayList = arrayListAdapter.read(in); in create() local 62 return (T) ImmutableList.copyOf(arrayList); in create()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ArrayListMultimap.java | 133 ArrayList<V> arrayList = (ArrayList<V>) collection; in trimToSize() local 134 arrayList.trimToSize(); in trimToSize()
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
D | IsCollectionWithSizeTest.java | 74 ArrayList<String> arrayList = new ArrayList<String>(); in testCompilesWithATypedCollection() local 75 MatcherAssert.assertThat(arrayList, hasSize(0)); in testCompilesWithATypedCollection()
|
D | IsMapWithSizeTest.java | 71 Map<String, Integer> arrayList = new HashMap<String, Integer>(); in testCompilesWithATypedMap() local 72 MatcherAssert.assertThat(arrayList, aMapWithSize(0)); in testCompilesWithATypedMap()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ArrayListMultimap.java | 138 ArrayList<V> arrayList = (ArrayList<V>) collection; in trimToSize() local 139 arrayList.trimToSize(); in trimToSize()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | JavaFileTest.java | 36 ClassName arrayList = ClassName.get("java.util", "ArrayList"); in importStaticReadmeExample() local 40 .addStatement("$T result = new $T<>()", listOfHoverboards, arrayList) in importStaticReadmeExample()
|
/external/javapoet/ |
D | README.md | 274 ClassName arrayList = ClassName.get("java.util", "ArrayList"); 279 .addStatement("$T result = new $T<>()", listOfHoverboards, arrayList) 318 .addStatement("$T result = new $T<>()", listOfHoverboards, arrayList)
|
/external/guice/core/test/com/google/inject/spi/ |
D | ElementsTest.java | 1016 final Key<ArrayList> arrayList = Key.get(ArrayList.class); in testNewPrivateBinder() local 1017 final ImmutableSet<Key<?>> collections = ImmutableSet.<Key<?>>of(arrayList, collection); in testNewPrivateBinder()
|