/external/guava/guava/src/com/google/common/io/ |
CharSource.java | 196 return ImmutableList.copyOf(result); 286 return concat(ImmutableList.copyOf(sources)); 302 return concat(ImmutableList.copyOf(sources)); 387 return ImmutableList.copyOf(lines());
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
RegularImmutableSortedSet_CustomFieldSerializer.java | 54 * ImmutableSortedSet.copyOf always return a RegularImmutableSortedSet back. 57 ImmutableSortedSet.copyOf(comparator, elements);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
BiMapGenerators.java | 52 return ImmutableBiMap.copyOf(builder);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractRangeSetTest.java | 41 List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges());
|
/external/guava/guava-tests/test/com/google/common/io/ |
TestOutputStream.java | 45 this.options = ImmutableSet.copyOf(options);
|
/external/guice/core/src/com/google/inject/ |
ConfigurationException.java | 39 this.messages = com.google.common.collect.ImmutableSet.copyOf(messages);
|
/external/guice/core/src/com/google/inject/spi/ |
InterceptorBinding.java | 58 this.interceptors = ImmutableList.copyOf(interceptors);
|
ProvisionListenerBinding.java | 42 this.listeners = ImmutableList.copyOf(listeners);
|
/external/junit-params/src/main/java/junitparams/custom/combined/ |
Cartesian.java | 42 Object[] newArray = Arrays.copyOf(initialArray, initialArray.length + 1);
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
UnknownFieldSetLite.java | 78 int[] tags = Arrays.copyOf(first.tags, count); 80 Object[] objects = Arrays.copyOf(first.objects, count); 287 tags = Arrays.copyOf(tags, newLength); 288 objects = Arrays.copyOf(objects, newLength);
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
ShadowMap.java | 39 return new ShadowMap(ImmutableMap.copyOf(shadowMap), Collections.emptyMap(), 40 ImmutableMap.copyOf(shadowPickerMap)); 51 this.overriddenShadows = ImmutableMap.copyOf(overriddenShadows); 52 this.shadowPickers = ImmutableMap.copyOf(shadowPickers);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/ |
ImmutableArrayPayload.java | 54 this.arrayElements = arrayElements==null ? ImmutableList.<Number>of() : ImmutableList.copyOf(arrayElements);
|
/external/turbine/java/com/google/turbine/binder/bound/ |
AnnotationMetadata.java | 39 return ImmutableSet.copyOf(values);
|
/external/turbine/java/com/google/turbine/binder/env/ |
SimpleEnv.java | 50 return new SimpleEnv<>(ImmutableMap.copyOf(map));
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
CompoundTopLevelIndex.java | 40 return new CompoundTopLevelIndex(ImmutableList.copyOf(indexes));
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
ZipArchiveEntry.java | 456 return (parseableExtraFields == extraFields) ? copyOf(parseableExtraFields) : parseableExtraFields; 470 private ZipExtraField[] copyOf(final ZipExtraField[] src){ 471 return copyOf(src, src.length); 474 private ZipExtraField[] copyOf(final ZipExtraField[] src, final int length) { 481 final ZipExtraField[] zipExtraFields = copyOf(extraFields, extraFields.length + 1); 492 return (allExtraFieldsNoCopy == extraFields) ? copyOf( allExtraFieldsNoCopy) : allExtraFieldsNoCopy; 512 final ZipExtraField[] zipExtraFields = copyOf(extraFields, extraFields.length + 1); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableMultiset.java | 145 * example, {@code ImmutableMultiset.copyOf([2, 3, 1, 3])} yields a multiset 151 public static <E> ImmutableMultiset<E> copyOf(E[] elements) { 152 return copyOf(Arrays.asList(elements)); 159 * example, {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3))} yields 172 public static <E> ImmutableMultiset<E> copyOf( 190 return copyOf(Arrays.asList(elements)); 224 * {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3).iterator())} 229 public static <E> ImmutableMultiset<E> copyOf( 449 return ImmutableMultiset.copyOf(multiset); 599 return copyOf(contents) [all...] |
SparseImmutableTable.java | 71 rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue())); 77 columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue()));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMultiset.java | 144 * example, {@code ImmutableMultiset.copyOf([2, 3, 1, 3])} yields a multiset 150 public static <E> ImmutableMultiset<E> copyOf(E[] elements) { 151 return copyOf(Arrays.asList(elements)); 158 * example, {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3))} yields 171 public static <E> ImmutableMultiset<E> copyOf( 189 return copyOf(Arrays.asList(elements)); 223 * {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3).iterator())} 228 public static <E> ImmutableMultiset<E> copyOf( 438 return ImmutableMultiset.copyOf(multiset); 588 return copyOf(contents) [all...] |
ImmutableSortedSet.java | 135 public static <E> ImmutableSortedSet<E> copyOf(Collection<? extends E> elements) { 139 public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) { 143 public static <E> ImmutableSortedSet<E> copyOf(Iterator<? extends E> elements) { 147 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( 152 public static <E> ImmutableSortedSet<E> copyOf( 158 public static <E> ImmutableSortedSet<E> copyOf( 164 public static <E> ImmutableSortedSet<E> copyOf(
|
ImmutableSetMultimap.java | 273 return copyOf(builderMultimap, valueComparator); 291 public static <K, V> ImmutableSetMultimap<K, V> copyOf( 293 return copyOf(multimap, null); 296 private static <K, V> ImmutableSetMultimap<K, V> copyOf( 455 ? ImmutableSet.copyOf(values) 456 : ImmutableSortedSet.copyOf(valueComparator, values);
|
/external/grpc-grpc-java/context/src/main/java/io/grpc/ |
PersistentHashArrayMappedTrie.java | 164 K[] newKeys = Arrays.copyOf(keys, keys.length); 165 V[] newValues = Arrays.copyOf(values, keys.length); 171 K[] newKeys = Arrays.copyOf(keys, keys.length + 1); 172 V[] newValues = Arrays.copyOf(values, keys.length + 1); 251 Node<K,V>[] newValues = Arrays.copyOf(values, values.length);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/ |
DisplayConfig.java | 294 supportedModes = Arrays.copyOf(other.supportedModes, other.supportedModes.length); 298 supportedColorModes = Arrays.copyOf( 390 supportedModes = Arrays.copyOf(other.supportedModes, other.supportedModes.length); 392 supportedColorModes = Arrays.copyOf( 435 other.supportedModes = Arrays.copyOf(supportedModes, supportedModes.length); 439 other.supportedColorModes = Arrays.copyOf(
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
ObjectGraphMeasurer.java | 72 this.primitives = ImmutableMultiset.copyOf(primitives); 218 ImmutableMultiset.copyOf(primitives));
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
AesGcmHkdfAeadCrypter.java | 53 this.kdfKey = Arrays.copyOf(key, KDF_KEY_LENGTH); 96 byte[] aeKey = Arrays.copyOf(hkdfExpandSha256(kdfKey, kdfCounter), aeKeyLen);
|