/external/guava/guava/src/com/google/common/collect/ |
AllEqualOrdering.java | 47 return ImmutableList.copyOf(iterable);
|
ImmutableSet.java | 271 public static <E> ImmutableSet<E> copyOf(E[] elements) { 288 * ImmutableSet.copyOf(s)} returns an {@code ImmutableSet<String>} containing 299 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { 301 ? copyOf((Collection<? extends E>) elements) 302 : copyOf(elements.iterator()); 312 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) { 335 * ImmutableSet.copyOf(s)} returns an {@code ImmutableSet<String>} containing 340 * <p><b>Note:</b> Despite what the method name suggests, {@code copyOf} will 348 * <li>{@code ImmutableSet.copyOf()} is idempotent with respect to pointer 359 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) [all...] |
/external/guava/guava-gwt/src/com/google/common/collect/ |
RegularImmutableBiMap_CustomFieldSerializer.java | 45 * always have one or more elements, ImmutableBiMap.copyOf always return a 49 (RegularImmutableBiMap<Object, Object>) ImmutableBiMap.copyOf(entries);
|
RegularImmutableList_CustomFieldSerializer.java | 46 * always have one or more elements, ImmutableList.copyOf always return 49 return (RegularImmutableList<Object>) ImmutableList.copyOf(elements);
|
RegularImmutableMap_CustomFieldSerializer.java | 45 * always have two or more elements, ImmutableMap.copyOf always return 48 return (RegularImmutableMap<Object, Object>) ImmutableMap.copyOf(entries);
|
RegularImmutableMultiset_CustomFieldSerializer.java | 44 * ImmutableMultiset.copyOf always return a RegularImmutableMultiset back. 47 .copyOf(elements);
|
RegularImmutableSet_CustomFieldSerializer.java | 44 * always have two or more elements, ImmutableSet.copyOf always return 47 return (RegularImmutableSet<Object>) ImmutableSet.copyOf(elements);
|
/external/guava/guava-tests/test/com/google/common/io/ |
TestByteSink.java | 39 this.options = ImmutableSet.copyOf(options);
|
TestByteSource.java | 43 this.options = ImmutableSet.copyOf(options);
|
/external/guice/core/src/com/google/inject/ |
CreationException.java | 38 this.messages = ImmutableSet.copyOf(messages);
|
ProvisionException.java | 40 this.messages = ImmutableSet.copyOf(messages);
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ServletModule.java | 267 return getFiltersModuleBuilder().filter(ImmutableList.copyOf(urlPatterns)); 284 return getFiltersModuleBuilder().filterRegex(ImmutableList.copyOf(regexes)); 301 return getServletModuleBuilder().serve(ImmutableList.copyOf(urlPatterns)); 318 return getServletModuleBuilder().serveRegex(ImmutableList.copyOf(regexes));
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderClassDef.java | 83 this.staticFields = ImmutableSortedSet.copyOf(Iterables.filter(fields, FieldUtil.FIELD_IS_STATIC)); 84 this.instanceFields = ImmutableSortedSet.copyOf(Iterables.filter(fields, FieldUtil.FIELD_IS_INSTANCE)); 85 this.directMethods = ImmutableSortedSet.copyOf(Iterables.filter(methods, MethodUtil.METHOD_IS_DIRECT)); 86 this.virtualMethods = ImmutableSortedSet.copyOf(Iterables.filter(methods, MethodUtil.METHOD_IS_VIRTUAL));
|
/external/turbine/java/com/google/turbine/diag/ |
TurbineLog.java | 35 throw new TurbineError(ImmutableList.copyOf(errors));
|
/external/desugar/java/com/google/devtools/common/options/ |
OptionsData.java | 40 this.evaluatedExpansions = ImmutableMap.copyOf(evaluatedExpansions); 76 evaluatedExpansionsBuilder.put(optionDefinition, ImmutableList.copyOf(constExpansion));
|
IsolatedOptionsData.java | 118 this.optionsClasses = ImmutableMap.copyOf(optionsClasses); 119 this.nameToField = ImmutableMap.copyOf(nameToField); 120 this.oldNameToField = ImmutableMap.copyOf(oldNameToField); 121 this.abbrevToField = ImmutableMap.copyOf(abbrevToField); 122 this.usesOnlyCoreTypes = ImmutableMap.copyOf(usesOnlyCoreTypes);
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
ImmutableListCreationBenchmark.java | 70 dummy += ImmutableList.copyOf(builder).size(); 83 tmp += ImmutableList.copyOf(builder).size();
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/ |
GraphvizNode.java | 83 return ImmutableList.copyOf(subtitles.values()); 111 return ImmutableMap.copyOf(fields);
|
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/ |
WifiRttTest.java | 148 reportLog.addValues("distance_mm", Arrays.copyOf(distanceMms, numGoodResults), 150 reportLog.addValues("distance_stddev_mm", Arrays.copyOf(distanceStdDevMms, numGoodResults), 152 reportLog.addValues("rssi_dbm", Arrays.copyOf(rssis, numGoodResults), ResultType.NEUTRAL, 154 reportLog.addValues("num_attempted", Arrays.copyOf(numAttempted, numGoodResults), 156 reportLog.addValues("num_successful", Arrays.copyOf(numSuccessful, numGoodResults), 158 reportLog.addValues("timestamps", Arrays.copyOf(timestampsMs, numGoodResults),
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableBiMapTest.java | 74 .named("ImmutableBiMap.copyOf") 358 = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap()); 360 assertSame(copy, ImmutableBiMap.copyOf(copy)); 366 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1)); 368 assertSame(copy, ImmutableBiMap.copyOf(copy)); 377 ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original); 379 assertSame(copy, ImmutableBiMap.copyOf(copy)); 392 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( 399 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( 423 ImmutableBiMap.copyOf(map) [all...] |
BenchmarkHelpers.java | 68 return ImmutableSet.copyOf(contents); 73 return ImmutableSortedSet.copyOf(contents); 97 return ImmutableListMultimap.copyOf(contents); 130 return ImmutableSetMultimap.copyOf(contents); 160 return ImmutableMap.copyOf(map); 185 return ImmutableSortedMap.copyOf(map); 202 return ImmutableBiMap.copyOf(map); 231 return ImmutableMultiset.copyOf(contents); 248 return ImmutableSortedMultiset.copyOf(contents); 287 return ImmutableTable.copyOf(contents) [all...] |
/external/deqp-deps/glslang/glslang/Include/ |
Types.h | [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
SetGenerators.java | 66 return ImmutableSet.copyOf(elements); 78 return ImmutableSet.copyOf(elements); 96 return ImmutableSortedSet.copyOf(elements); 105 return ImmutableSortedSet.copyOf(list) 115 return ImmutableSortedSet.copyOf(list) 126 return ImmutableSortedSet.copyOf(list) 186 return ImmutableSortedSet.copyOf(elements); 193 return ImmutableSet.copyOf(elements).asList(); 201 ImmutableSet<String> set = ImmutableSortedSet.copyOf(
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SetGenerators.java | 67 return ImmutableSet.copyOf(elements); 79 return ImmutableSet.copyOf(elements); 97 return ImmutableSortedSet.copyOf(elements); 106 return ImmutableSortedSet.copyOf(list) 116 return ImmutableSortedSet.copyOf(list) 127 return ImmutableSortedSet.copyOf(list) 199 return ImmutableSortedSet.copyOf(elements); 206 return ImmutableSet.copyOf(elements).asList(); 214 ImmutableSet<String> set = ImmutableSortedSet.copyOf(
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedMapTest.java | 410 = ImmutableSortedMap.copyOf(Collections.<String, Integer>emptyMap()); 412 assertSame(copy, ImmutableSortedMap.copyOf(copy)); 418 = ImmutableSortedMap.copyOf(Collections.singletonMap("one", 1)); 420 assertSame(copy, ImmutableSortedMap.copyOf(copy)); 431 = ImmutableSortedMap.copyOf(original); 433 assertSame(copy, ImmutableSortedMap.copyOf(copy)); 445 = ImmutableSortedMap.copyOf(original, comparator); 447 assertSame(copy, ImmutableSortedMap.copyOf(copy, comparator)); 456 = ImmutableSortedMap.copyOf(original, comparator); 458 assertSame(copy, ImmutableSortedMap.copyOf(copy, comparator)) [all...] |