/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | ImmutableSetTest.java | 71 @Override protected Set<String> copyOf(String[] elements) { method in class:ImmutableSetTest 72 return ImmutableSet.copyOf(elements); 75 @Override protected Set<String> copyOf(Collection<String> elements) { method in class:ImmutableSetTest 76 return ImmutableSet.copyOf(elements); 79 @Override protected Set<String> copyOf(Iterable<String> elements) { method in class:ImmutableSetTest 80 return ImmutableSet.copyOf(elements); 83 @Override protected Set<String> copyOf(Iterator<String> elements) { method in class:ImmutableSetTest 84 return ImmutableSet.copyOf(elements); 88 ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); 117 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSe [all...] |
H A D | AbstractImmutableSetTest.java | 52 protected abstract Set<String> copyOf(String[] elements); method in class:AbstractImmutableSetTest 53 protected abstract Set<String> copyOf(Collection<String> elements); method in class:AbstractImmutableSetTest 54 protected abstract Set<String> copyOf(Iterable<String> elements); method in class:AbstractImmutableSetTest 55 protected abstract Set<String> copyOf(Iterator<String> elements); method in class:AbstractImmutableSetTest 105 Set<String> set = copyOf(array); 112 Set<String> set = copyOf(array); 118 copyOf((String[]) null); 127 copyOf(array); 136 Set<String> set = copyOf(c); 143 Set<String> set = copyOf( [all...] |
H A D | ImmutableListTest.java | 168 List<String> list = ImmutableList.copyOf(array); 174 List<String> list = ImmutableList.copyOf(array); 180 ImmutableList.copyOf((String[]) null); 189 ImmutableList.copyOf(array); 198 List<String> list = ImmutableList.copyOf(c); 204 List<String> list = ImmutableList.copyOf(c); 210 List<String> list = ImmutableList.copyOf(c); 213 list = ImmutableList.copyOf(mutableList); 221 ImmutableList.copyOf(c); 229 List<String> list = ImmutableList.copyOf(iterato [all...] |
H A D | ImmutableMultisetTest.java | 89 Multiset<String> multiset = ImmutableMultiset.copyOf(array); 95 Multiset<String> multiset = ImmutableMultiset.copyOf(array); 110 ImmutableMultiset.copyOf(array); 118 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 124 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 130 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 137 ImmutableMultiset.copyOf(c); 144 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 150 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 156 Multiset<String> multiset = ImmutableMultiset.copyOf( [all...] |
H A D | ImmutableSortedSetTest.java | 86 @Override protected SortedSet<String> copyOf(String[] elements) { method in class:ImmutableSortedSetTest 87 return ImmutableSortedSet.copyOf(elements); 90 @Override protected SortedSet<String> copyOf(Collection<String> elements) { method in class:ImmutableSortedSetTest 91 return ImmutableSortedSet.copyOf(elements); 94 @Override protected SortedSet<String> copyOf(Iterable<String> elements) { method in class:ImmutableSortedSetTest 95 return ImmutableSortedSet.copyOf(elements); 98 @Override protected SortedSet<String> copyOf(Iterator<String> elements) { method in class:ImmutableSortedSetTest 99 return ImmutableSortedSet.copyOf(elements); 374 copyOf(asList("e", "a", "f", "b", "d", "c")); 380 copyOf(asLis [all...] |
H A D | ImmutableBiMapTest.java | 317 = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap()); 319 assertSame(copy, ImmutableBiMap.copyOf(copy)); 325 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1)); 327 assertSame(copy, ImmutableBiMap.copyOf(copy)); 336 ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original); 338 assertSame(copy, ImmutableBiMap.copyOf(copy)); 351 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( 358 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( 382 ImmutableBiMap.copyOf(map); 394 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/ |
H A D | SuperclassChainTest.java | 69 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(objectClassProto))); 73 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(oneClassProto))); 77 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(twoClassProto))); 81 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(threeClassProto))); 100 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(twoClassProto))); 104 ImmutableList.copyOf(TypeProtoUtils.getSuperclassChain(threeClassProto)));
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/ |
H A D | TestUtils.java | 44 return new ImmutableClassDef(classType, 0, superType, ImmutableSet.copyOf(interfaces), 50 ImmutableSet.copyOf(interfaces), null, null, null, null, null, null);
|
/external/guava/guava-tests/benchmark/com/google/common/primitives/ |
H A D | UnsignedBytesBenchmark.java | 50 ba2 = Arrays.copyOf(ba1, ba1.length); 52 ba3 = Arrays.copyOf(ba1, ba1.length); 53 ba4 = Arrays.copyOf(ba1, ba1.length);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | AbstractImmutableSetTest.java | 56 protected abstract Set<String> copyOf(String[] elements); method in class:AbstractImmutableSetTest 57 protected abstract Set<String> copyOf(Collection<String> elements); method in class:AbstractImmutableSetTest 58 protected abstract Set<String> copyOf(Iterable<String> elements); method in class:AbstractImmutableSetTest 59 protected abstract Set<String> copyOf(Iterator<String> elements); method in class:AbstractImmutableSetTest 109 Set<String> set = copyOf(array); 116 Set<String> set = copyOf(array); 122 copyOf((String[]) null); 131 copyOf(array); 140 Set<String> set = copyOf(c); 147 Set<String> set = copyOf( [all...] |
H A D | ImmutableSetTest.java | 121 @Override protected Set<String> copyOf(String[] elements) { method in class:ImmutableSetTest 122 return ImmutableSet.copyOf(elements); 125 @Override protected Set<String> copyOf(Collection<String> elements) { method in class:ImmutableSetTest 126 return ImmutableSet.copyOf(elements); 129 @Override protected Set<String> copyOf(Iterable<String> elements) { method in class:ImmutableSetTest 130 return ImmutableSet.copyOf(elements); 133 @Override protected Set<String> copyOf(Iterator<String> elements) { method in class:ImmutableSetTest 134 return ImmutableSet.copyOf(elements); 138 ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); 209 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSe [all...] |
H A D | ImmutableMultimapAsMapImplementsMapTest.java | 46 return ImmutableMultimap.copyOf(delegate).asMap();
|
H A D | ImmutableSetMultimapAsMapImplementsMapTest.java | 46 return ImmutableSetMultimap.copyOf(delegate).asMap();
|
H A D | ImmutableSortedMultisetTest.java | 62 return ImmutableSortedMultiset.copyOf(elements); 79 return ImmutableSortedMultiset.copyOf(elements).asList(); 162 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); 168 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); 191 ImmutableSortedMultiset.copyOf(array); 199 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c); 205 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c); 211 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c); 218 ImmutableSortedMultiset.copyOf(c); 225 Multiset<String> multiset = ImmutableSortedMultiset.copyOf( [all...] |
H A D | ImmutableMultisetTest.java | 66 return ImmutableMultiset.copyOf(elements); 77 return ImmutableMultiset.copyOf(elements).elementSet(); 88 return ImmutableMultiset.copyOf(elements).asList(); 181 Multiset<String> multiset = ImmutableMultiset.copyOf(array); 187 Multiset<String> multiset = ImmutableMultiset.copyOf(array); 202 ImmutableMultiset.copyOf(array); 210 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 216 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 222 Multiset<String> multiset = ImmutableMultiset.copyOf(c); 229 ImmutableMultiset.copyOf( [all...] |
H A D | ImmutableClassToInstanceMapTest.java | 76 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); 79 assertSame(map, ImmutableClassToInstanceMap.copyOf(map)); 86 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); 95 assertSame(map, ImmutableClassToInstanceMap.copyOf(map)); 102 ImmutableClassToInstanceMap.copyOf(nullKey); 110 ImmutableClassToInstanceMap.copyOf(nullValue); 118 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); 125 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
|
H A D | ImmutableSortedSetTest.java | 193 @Override protected SortedSet<String> copyOf(String[] elements) { method in class:ImmutableSortedSetTest 194 return ImmutableSortedSet.copyOf(elements); 197 @Override protected SortedSet<String> copyOf(Collection<String> elements) { method in class:ImmutableSortedSetTest 198 return ImmutableSortedSet.copyOf(elements); 201 @Override protected SortedSet<String> copyOf(Iterable<String> elements) { method in class:ImmutableSortedSetTest 202 return ImmutableSortedSet.copyOf(elements); 205 @Override protected SortedSet<String> copyOf(Iterator<String> elements) { method in class:ImmutableSortedSetTest 206 return ImmutableSortedSet.copyOf(elements); 532 copyOf(asList("e", "a", "f", "b", "d", "c")); 538 copyOf(asLis [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
H A D | ListGenerators.java | 47 return ImmutableList.copyOf(elements); 75 return ImmutableList.copyOf(list).reverse(); 86 return ImmutableList.copyOf(all) 98 return ImmutableList.copyOf(all) 114 return ImmutableList.copyOf(all) 146 return ImmutableList.copyOf(elements);
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
H A D | ParameterizedTypeName.java | 34 this.parameters = ImmutableList.<TypeName>copyOf(parameters); 93 return new ParameterizedTypeName(className, ImmutableList.copyOf(parameters)); 98 return new ParameterizedTypeName(className, ImmutableList.copyOf(parameters)); 105 ImmutableList.copyOf(parameters));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | ImmutableSet.java | 79 return copyOf(all.iterator()); 82 public static <E> ImmutableSet<E> copyOf(E[] elements) { method in class:ImmutableSet 94 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { method in class:ImmutableSet 96 return copyOf(iterable); 99 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableSet 105 return copyOf(elements.iterator()); 108 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableSet 203 return copyOf(contents.iterator());
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | FileTreeTraverserTest.java | 91 assertEquals(ImmutableSet.copyOf(files), 92 ImmutableSet.copyOf(Files.fileTreeTraverser().children(dir)));
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/ |
H A D | GraphvizEdge.java | 74 this.arrowHead = ImmutableList.copyOf(arrowHead); 103 this.arrowTail = ImmutableList.copyOf(arrowTail);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
H A D | PoolClassDef.java | 59 interfaces = new TypeListPool.Key<List<String>>(ImmutableList.copyOf(classDef.getInterfaces())); 60 staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields()); 61 instanceFields = ImmutableSortedSet.copyOf(classDef.getInstanceFields()); 62 directMethods = ImmutableSortedSet.copyOf( 64 virtualMethods = ImmutableSortedSet.copyOf(
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | ImmutableSortedMultiset.java | 118 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); 129 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); 141 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); 153 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); 169 return copyOf(Ordering.natural(), all); 178 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> copyOf(E[] elements) { method in class:ImmutableSortedMultiset 179 return copyOf(Ordering.natural(), Arrays.asList(elements)); 189 * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>} 204 public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableSortedMultiset 209 return copyOf(naturalOrde 222 public static <E> ImmutableSortedMultiset<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableSortedMultiset 236 public static <E> ImmutableSortedMultiset<E> copyOf( method in class:ImmutableSortedMultiset 252 public static <E> ImmutableSortedMultiset<E> copyOf( method in class:ImmutableSortedMultiset [all...] |
/external/caliper/examples/src/main/java/examples/ |
H A D | CopyArrayBenchmark.java | 33 * array clone() much slower than Arrays.copyOf</a> 80 return Arrays.copyOf(array, array.length); 83 return Arrays.copyOf(array, array.length); 86 return Arrays.copyOf(array, array.length); 89 return Arrays.copyOf(array, array.length); 92 return Arrays.copyOf(array, array.length); 95 return Arrays.copyOf(array, array.length); 98 return Arrays.copyOf(array, array.length); 101 return Arrays.copyOf(array, array.length); 104 return Arrays.copyOf(arra [all...] |