Searched refs:copyOf (Results 51 - 75 of 151) sorted by relevance

1234567

/external/guava/guava-tests/test/com/google/common/collect/
H A DFauxveridesTest.java43 * example, that a call written "{@code ImmutableSortedSet.copyOf()}" cannot
44 * secretly be a call to {@code ImmutableSet.copyOf()}.
73 * ImmutableSorted{Set,Map}.copyOf(), whose type parameters we are unable to
82 ImmutableSortedMap.copyOf(original);
92 ImmutableSortedSet.copyOf(original);
102 ImmutableSortedSet.copyOf(original.iterator());
H A DImmutableSortedMapTest.java540 = ImmutableSortedMap.copyOf(Collections.<String, Integer>emptyMap());
542 assertSame(copy, ImmutableSortedMap.copyOf(copy));
548 = ImmutableSortedMap.copyOf(Collections.singletonMap("one", 1));
550 assertSame(copy, ImmutableSortedMap.copyOf(copy));
561 = ImmutableSortedMap.copyOf(original);
563 assertSame(copy, ImmutableSortedMap.copyOf(copy));
575 = ImmutableSortedMap.copyOf(original, comparator);
577 assertSame(copy, ImmutableSortedMap.copyOf(copy, comparator));
586 = ImmutableSortedMap.copyOf(original, comparator);
588 assertSame(copy, ImmutableSortedMap.copyOf(cop
[all...]
H A DImmutableListMultimapTest.java280 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input);
291 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input);
298 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input);
305 assertSame(multimap, ImmutableListMultimap.copyOf(multimap));
312 ImmutableListMultimap.copyOf(input);
321 ImmutableListMultimap.copyOf(input);
H A DImmutableMapTest.java496 = ImmutableMap.copyOf(Collections.<String, Integer>emptyMap());
498 assertSame(copy, ImmutableMap.copyOf(copy));
503 = ImmutableMap.copyOf(Collections.singletonMap("one", 1));
505 assertSame(copy, ImmutableMap.copyOf(copy));
514 ImmutableMap<String, Integer> copy = ImmutableMap.copyOf(original);
516 assertSame(copy, ImmutableMap.copyOf(copy));
H A DImmutableSetMultimapTest.java289 Multimap<String, Integer> multimap = ImmutableSetMultimap.copyOf(input);
301 = ImmutableSetMultimap.copyOf(input);
307 Multimap<String, Integer> multimap = ImmutableSetMultimap.copyOf(input);
314 assertSame(multimap, ImmutableSetMultimap.copyOf(multimap));
321 ImmutableSetMultimap.copyOf(input);
330 ImmutableSetMultimap.copyOf(input);
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DHtmlPolicyBuilder.java492 ImmutableMap.copyOf(globalAttrPolicies));
518 Set<String> allowedProtocols = ImmutableSet.copyOf(this.allowedProtocols);
639 this.attributeNames = ImmutableList.copyOf(attributeNames);
693 return matching(ignoreCase, ImmutableSet.copyOf(allowedValues));
704 final ImmutableSet<String> allowed = ImmutableSet.copyOf(allowedValues);
H A DFilterUrlByProtocolAttributePolicy.java63 this.protocols = ImmutableSet.copyOf(protocols);
/external/guava/guava/src/com/google/common/collect/
H A DImmutableListMultimap.java237 public static <K, V> ImmutableListMultimap<K, V> copyOf( method in class:ImmutableListMultimap
258 ImmutableList<V> list = ImmutableList.copyOf(entry.getValue());
365 builder.put(key, ImmutableList.copyOf(array));
H A DImmutableClassToInstanceMap.java117 public static <B, S extends B> ImmutableClassToInstanceMap<B> copyOf( method in class:ImmutableClassToInstanceMap
H A DImmutableBiMap.java193 public static <K, V> ImmutableBiMap<K, V> copyOf( method in class:ImmutableBiMap
209 ImmutableMap<K, V> immutableMap = ImmutableMap.copyOf(map);
H A DImmutableMultimap.java271 return copyOf(builderMultimap);
287 public static <K, V> ImmutableMultimap<K, V> copyOf( method in class:ImmutableMultimap
297 return ImmutableListMultimap.copyOf(multimap);
/external/guava/guava-testlib/src/com/google/common/testing/
H A DEquivalenceTester.java102 items.addAll(ImmutableList.copyOf(group));
H A DRelationshipTester.java45 groups.add(ImmutableList.copyOf(group));
/external/jsilver/src/com/google/streamhtmlparser/util/
H A DJavascriptTokenBuffer.java80 buffer = Arrays.copyOf(aJavascriptTokenBuffer.buffer,
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
H A DBuilderAnnotationSetPool.java69 ImmutableSet.copyOf(Iterators.transform(annotations.iterator(),
H A DBuilderTypeListPool.java68 ImmutableList.copyOf(Iterables.transform(types, new Function<CharSequence, BuilderTypeReference>() {
H A DBuilderContext.java77 return ImmutableSet.copyOf(
147 ImmutableList.copyOf(
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
H A DMemoryDataStore.java50 buf = Arrays.copyOf(buf, (int)((index + 1) * 1.2));
/external/guava/guava/src/com/google/common/primitives/
H A DBytes.java201 ? copyOf(array, minLength + padding)
205 // Arrays.copyOf() requires Java 6
206 private static byte[] copyOf(byte[] original, int length) { method in class:Bytes
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
H A DImmutableClassDef.java81 this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces);
103 this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces);
/external/smali/util/src/main/java/org/jf/util/
H A DCollectionUtils.java165 return ImmutableSortedSet.copyOf(collection);
178 return ImmutableSortedSet.copyOf(elementComparator, collection);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DArrays.java566 public static byte[] copyOf(byte[] data, int newLength) method in class:Arrays
582 public static char[] copyOf(char[] data, int newLength) method in class:Arrays
598 public static int[] copyOf(int[] data, int newLength) method in class:Arrays
614 public static long[] copyOf(long[] data, int newLength) method in class:Arrays
630 public static BigInteger[] copyOf(BigInteger[] data, int newLength) method in class:Arrays
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableMultimap.java270 return copyOf(builderMultimap);
286 public static <K, V> ImmutableMultimap<K, V> copyOf( method in class:ImmutableMultimap
296 return ImmutableListMultimap.copyOf(multimap);
H A DImmutableSortedMap.java122 copyOf(Map<? extends K, ? extends V> map) { method in class:ImmutableSortedMap
126 public static <K, V> ImmutableSortedMap<K, V> copyOf( method in class:ImmutableSortedMap
241 return ImmutableSortedSet.copyOf(comparator, sortedDelegate.keySet());
/external/guava/guava/src/com/google/common/cache/
H A DAbstractCache.java70 return ImmutableMap.copyOf(result);

Completed in 452 milliseconds

1234567