/external/guava/guava-tests/benchmark/com/google/common/collect/ |
IteratorBenchmark.java | 23 import java.util.ArrayList; 36 ArrayList<Object> arrayList; 41 arrayList = Lists.newArrayListWithCapacity(size); 47 arrayList.add(value); 86 sum += arrayList.get(index).hashCode(); 95 for (int index = 0; index < arrayList.size(); index++) { 96 sum += arrayList.get(index).hashCode(); 105 for (Object value : arrayList) { 115 for (Object value : arrayList.toArray()) [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
ImmutableListTypeAdatperFactory.java | 31 import java.util.ArrayList; 35 * Serializes and deserializes {@link ImmutableList} instances using an {@link ArrayList} as an 50 final TypeAdapter<ArrayList<?>> arrayListAdapter = 51 (TypeAdapter<ArrayList<?>>) gson.getAdapter( 52 TypeToken.get(betterToken.getSupertype(List.class).getSubtype(ArrayList.class) 56 ArrayList<?> arrayList = Lists.newArrayList((List<?>) value); 57 arrayListAdapter.write(out, arrayList); 61 ArrayList<?> arrayList = arrayListAdapter.read(in) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ParameterAnnotationStruct.java | 26 import java.util.ArrayList; 67 ArrayList<AnnotationSetRefItem> arrayList = new 68 ArrayList<AnnotationSetRefItem>(size); 73 arrayList.add(new AnnotationSetRefItem(item)); 77 ItemType.TYPE_ANNOTATION_SET_REF_LIST, arrayList);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
ParameterAnnotationStruct.java | 25 import java.util.ArrayList; 67 ArrayList<AnnotationSetRefItem> arrayList = new 68 ArrayList<AnnotationSetRefItem>(size); 73 arrayList.add(new AnnotationSetRefItem(item)); 77 ItemType.TYPE_ANNOTATION_SET_REF_LIST, arrayList);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ArrayListMultimap.java | 24 import java.util.ArrayList; 30 * Implementation of {@code Multimap} that uses an {@code ArrayList} to store 32 * {@link ArrayList} of values. 63 // Default from ArrayList 121 * Creates a new, empty {@code ArrayList} to hold the collection of values for 125 return new ArrayList<V>(expectedValuesPerKey); 133 ArrayList<V> arrayList = (ArrayList<V>) collection; 134 arrayList.trimToSize() [all...] |
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/ |
IsCollectionWithSizeTest.java | 7 import java.util.ArrayList; 74 ArrayList<String> arrayList = new ArrayList<String>(); 75 MatcherAssert.assertThat(arrayList, hasSize(0));
|
IsMapWithSizeTest.java | 71 Map<String, Integer> arrayList = new HashMap<String, Integer>(); 72 MatcherAssert.assertThat(arrayList, aMapWithSize(0));
|
/external/guava/guava/src/com/google/common/collect/ |
ArrayListMultimap.java | 28 import java.util.ArrayList; 35 * Implementation of {@code Multimap} that uses an {@code ArrayList} to store 37 * {@link ArrayList} of values. 68 // Default from ArrayList 126 * Creates a new, empty {@code ArrayList} to hold the collection of values for 130 return new ArrayList<V>(expectedValuesPerKey); 138 ArrayList<V> arrayList = (ArrayList<V>) collection; 139 arrayList.trimToSize() [all...] |
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
DynamicListView.java | 41 import java.util.ArrayList; 70 public ArrayList<String> mCheeseList; 373 private void swapElements(ArrayList arrayList, int indexOne, int indexTwo) { 374 Object temp = arrayList.get(indexOne); 375 arrayList.set(indexOne, arrayList.get(indexTwo)); 376 arrayList.set(indexTwo, temp); 503 public void setCheeseList(ArrayList<String> cheeseList) {
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelTest.java | 21 import java.util.ArrayList; 371 ArrayList arrayList2 = new ArrayList(); 375 ArrayList arrayList = new ArrayList(); 379 assertEquals(0, arrayList.size()); 380 arrayList = (ArrayList) p.readValue(mcl); 381 assertEquals(3, arrayList.size()) [all...] |
BundleTest.java | 36 import java.util.ArrayList; 288 final ArrayList<CharSequence> list = new ArrayList<CharSequence>(); 295 ArrayList<CharSequence> ret = mBundle.getCharSequenceArrayList(KEY); 421 final ArrayList<Integer> arrayList = new ArrayList<Integer>(); 422 arrayList.add(i1); 423 arrayList.add(i2); 424 mBundle.putIntegerArrayList(KEY, arrayList); [all...] |
/external/javapoet/src/test/java/com/squareup/javapoet/ |
JavaFileTest.java | 36 ClassName arrayList = ClassName.get("java.util", "ArrayList"); 40 .addStatement("$T result = new $T<>()", listOfHoverboards, arrayList) 63 + "import java.util.ArrayList;\n" 68 + " List<Hoverboard> result = new ArrayList<>();\n"
|
/external/guice/core/test/com/google/inject/spi/ |
ElementsTest.java | 56 import java.util.ArrayList; 528 bind(List.class).to(ArrayList.class); 542 assertEquals(Key.get(ArrayList.class), binding.getLinkedKey()); 611 bind(List.class).to(ArrayList.class).in(Scopes.SINGLETON); [all...] |
/external/guice/extensions/persist/lib/ |
dom4j-1.6.1.jar | |
/external/owasp/sanitizer/tools/findbugs/lib/ |
dom4j-1.6.1.jar | |
/external/antlr/runtime/ActionScript/project/lib/ |
FlexAntTasks.jar | |
/external/conscrypt/benchmark-android/ |
vogar.jar | |
/external/dexmaker/lib/ |
dalvik-dx-9.0.0_r3.jar | |
/external/cldr/tools/java/libs/ |
guava.jar | |
/external/dagger2/lib/ |
google-java-format-0.1-20151017.042846-2.jar | |
/external/error_prone/error_prone/ |
error_prone_core-2.3.2-with-dependencies.jar | |
/external/guice/lib/ |
guava-19.0.jar | |
/external/owasp/sanitizer/distrib/lib/ |
guava.jar | |
/external/owasp/sanitizer/lib/guava-libraries/ |
guava.jar | |
/external/testng/ant/3rdparty/ |
doclava-1.0.3.jar | |