Home
last modified time | relevance | path

Searched refs:arrayList (Results 1 – 9 of 9) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/collect/
DIteratorBenchmark.java36 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/
DImmutableListTypeAdatperFactory.java56 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/
DArrayListMultimap.java133 ArrayList<V> arrayList = (ArrayList<V>) collection; in trimToSize() local
134 arrayList.trimToSize(); in trimToSize()
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsCollectionWithSizeTest.java74 ArrayList<String> arrayList = new ArrayList<String>(); in testCompilesWithATypedCollection() local
75 MatcherAssert.assertThat(arrayList, hasSize(0)); in testCompilesWithATypedCollection()
DIsMapWithSizeTest.java71 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/
DArrayListMultimap.java138 ArrayList<V> arrayList = (ArrayList<V>) collection; in trimToSize() local
139 arrayList.trimToSize(); in trimToSize()
/external/javapoet/src/test/java/com/squareup/javapoet/
DJavaFileTest.java36 ClassName arrayList = ClassName.get("java.util", "ArrayList"); in importStaticReadmeExample() local
40 .addStatement("$T result = new $T<>()", listOfHoverboards, arrayList) in importStaticReadmeExample()
/external/javapoet/
DREADME.md274 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/
DElementsTest.java1016 final Key<ArrayList> arrayList = Key.get(ArrayList.class); in testNewPrivateBinder() local
1017 final ImmutableSet<Key<?>> collections = ImmutableSet.<Key<?>>of(arrayList, collection); in testNewPrivateBinder()