/external/guava/guava/src/com/google/common/collect/ |
H A D | ImmutableSortedMultisetFauxverideShim.java | 26 * Set<Object> sorted = ImmutableSortedMultiset.copyOf(objects); 148 * {@link ImmutableSortedMultiset#copyOf(Comparable[])}.</b> 151 public static <E> ImmutableSortedMultiset<E> copyOf(E[] elements) { method in class:ImmutableSortedMultisetFauxverideShim 156 * We would like to include an unsupported "<E> copyOf(Iterable<E>)" here, providing only the 157 * properly typed "<E extends Comparable<E>> copyOf(Iterable<E>)" in ImmutableSortedMultiset (and 162 * copyOf() here, and the definition in ImmutableSortedMultiset matches that in 165 * The result is that ImmutableSortedMultiset.copyOf() may be called on non-Comparable elements.
|
H A D | ImmutableSortedSetFauxverideShim.java | 28 * Set<Object> sorted = ImmutableSortedSet.copyOf(objects); 143 * ImmutableSortedSet#copyOf(Comparable[])}.</b> 145 @Deprecated public static <E> ImmutableSortedSet<E> copyOf(E[] elements) { method in class:ImmutableSortedSetFauxverideShim 150 * We would like to include an unsupported "<E> copyOf(Iterable<E>)" here, 152 * "<E extends Comparable<E>> copyOf(Iterable<E>)" in ImmutableSortedSet (and 158 * the JLS similarly, there is no definition of copyOf() here, and the 161 * The result is that ImmutableSortedSet.copyOf() may be called on
|
H A D | ImmutableClassToInstanceMap.java | 117 public static <B, S extends B> ImmutableClassToInstanceMap<B> copyOf( method in class:ImmutableClassToInstanceMap
|
H A D | ImmutableTable.java | 71 public static final <R, C, V> ImmutableTable<R, C, V> copyOf( method in class:ImmutableTable
|
H A D | ImmutableBiMap.java | 193 public static <K, V> ImmutableBiMap<K, V> copyOf( method in class:ImmutableBiMap 209 ImmutableMap<K, V> immutableMap = ImmutableMap.copyOf(map);
|
H A D | ImmutableListMultimap.java | 237 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 D | ImmutableMap.java | 262 public static <K, V> ImmutableMap<K, V> copyOf( method in class:ImmutableMap 265 // TODO(user): Make ImmutableMap.copyOf(immutableBiMap) call copyOf()
|
H A D | ImmutableMultiset.java | 130 return copyOf(all); 141 * @deprecated use {@link #copyOf(Object[])}. <b>This method is scheduled for 147 return copyOf(Arrays.asList(elements)); 154 * example, {@code ImmutableMultiset.copyOf([2, 3, 1, 3])} yields a multiset 160 public static <E> ImmutableMultiset<E> copyOf(E[] elements) { method in class:ImmutableMultiset 161 return copyOf(Arrays.asList(elements)); 168 * example, {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3))} yields 181 public static <E> ImmutableMultiset<E> copyOf( method in class:ImmutableMultiset 199 return copyOf(Arrays.asList(elements)); 232 * {@code ImmutableMultiset.copyOf(Array 237 public static <E> ImmutableMultiset<E> copyOf( method in class:ImmutableMultiset [all...] |
H A D | ImmutableSet.java | 240 public static <E> ImmutableSet<E> copyOf(E[] elements) { method in class:ImmutableSet 259 * ImmutableSet.copyOf(s)} returns an {@code ImmutableSet<String>} containing 270 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableSet 272 ? copyOf(Collections2.cast(elements)) 273 : copyOf(elements.iterator()); 283 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableSet 296 * ImmutableSet.copyOf(s)} returns an {@code ImmutableSet<String>} containing 301 * <p><b>Note:</b> Despite what the method name suggests, {@code copyOf} will 309 * <li>{@code ImmutableSet.copyOf()} is idempotent with respect to pointer 320 public static <E> ImmutableSet<E> copyOf(Collectio method in class:ImmutableSet [all...] |
H A D | ImmutableSetMultimap.java | 278 return copyOf(builderMultimap, valueComparator); 296 public static <K, V> ImmutableSetMultimap<K, V> copyOf( method in class:ImmutableSetMultimap 298 return copyOf(multimap, null); 301 private static <K, V> ImmutableSetMultimap<K, V> copyOf( method in class:ImmutableSetMultimap 326 ? ImmutableSet.copyOf(values) 327 : ImmutableSortedSet.copyOf(valueComparator, values); 425 ? (entries = ImmutableSet.copyOf(super.entries())) 462 ImmutableSet<Object> valueSet = ImmutableSet.copyOf(array);
|
H A D | ImmutableSortedMultiset.java | 108 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); 119 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); 131 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); 143 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); 165 return copyOf(Ordering.natural(), all); 174 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> copyOf(E[] elements) { method in class:ImmutableSortedMultiset 175 return copyOf(Ordering.natural(), Arrays.asList(elements)); 185 * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>} 200 public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableSortedMultiset 205 return copyOf(naturalOrde 218 public static <E> ImmutableSortedMultiset<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableSortedMultiset 232 public static <E> ImmutableSortedMultiset<E> copyOf( method in class:ImmutableSortedMultiset 248 public static <E> ImmutableSortedMultiset<E> copyOf( method in class:ImmutableSortedMultiset [all...] |
H A D | ImmutableSortedSet.java | 138 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); 151 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); 164 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); 177 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); 195 return copyOf(Ordering.natural(), all); 208 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet 210 return copyOf(Ordering.natural(), Arrays.asList(elements)); 223 * ImmutableSortedSet.copyOf(s)} returns an {@code ImmutableSortedSet<String>} 239 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet 245 return copyOf(naturalOrde 277 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet 297 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet 315 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet 334 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet 358 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | ImmutableSet.java | 88 return copyOf(all.iterator()); 93 return copyOf(elements); 96 public static <E> ImmutableSet<E> copyOf(E[] elements) { method in class:ImmutableSet 108 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { method in class:ImmutableSet 110 return copyOf(iterable); 113 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableSet 120 return copyOf(elements.iterator()); 123 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableSet 218 return copyOf(contents.iterator());
|
H A D | ImmutableBiMap.java | 92 public static <K, V> ImmutableBiMap<K, V> copyOf( method in class:ImmutableBiMap 104 ImmutableMap<K, V> immutableMap = ImmutableMap.copyOf(map);
|
H A D | ImmutableListMultimap.java | 232 public static <K, V> ImmutableListMultimap<K, V> copyOf( method in class:ImmutableListMultimap 253 ImmutableList<V> list = ImmutableList.copyOf(entry.getValue());
|
H A D | ImmutableList.java | 146 public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableList 149 ? copyOf((Collection<? extends E>) elements) 150 : copyOf(elements.iterator()); 153 public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableList 157 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) { method in class:ImmutableList 170 public static <E> ImmutableList<E> copyOf(E[] elements) { method in class:ImmutableList 172 return copyOf(Arrays.asList(elements)); 315 return copyOf(contents);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
H A D | Arrays.java | 566 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/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | SymbolTable.cpp | 95 TSymbol::TSymbol(const TSymbol ©Of) argument 97 name = NewPoolTString(copyOf.name->c_str()); 98 uniqueId = copyOf.uniqueId;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ImmutableSetTest.java | 73 @Override protected Set<String> copyOf(String[] elements) { method in class:ImmutableSetTest 74 return ImmutableSet.copyOf(elements); 77 @Override protected Set<String> copyOf(Collection<String> elements) { method in class:ImmutableSetTest 78 return ImmutableSet.copyOf(elements); 81 @Override protected Set<String> copyOf(Iterable<String> elements) { method in class:ImmutableSetTest 82 return ImmutableSet.copyOf(elements); 85 @Override protected Set<String> copyOf(Iterator<String> elements) { method in class:ImmutableSetTest 86 return ImmutableSet.copyOf(elements); 90 ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); 167 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSe [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
H A D | Booleans.java | 221 ? copyOf(array, minLength + padding) 225 // Arrays.copyOf() requires Java 6 226 private static boolean[] copyOf(boolean[] original, int length) { method in class:Booleans
|
H A D | Bytes.java | 201 ? copyOf(array, minLength + padding) 205 // Arrays.copyOf() requires Java 6 206 private static byte[] copyOf(byte[] original, int length) { method in class:Bytes
|
H A D | Chars.java | 339 ? copyOf(array, minLength + padding) 343 // Arrays.copyOf() requires Java 6 344 private static char[] copyOf(char[] original, int length) { method in class:Chars
|
H A D | Doubles.java | 278 ? copyOf(array, minLength + padding) 282 // Arrays.copyOf() requires Java 6 283 private static double[] copyOf(double[] original, int length) { method in class:Doubles
|
H A D | Floats.java | 275 ? copyOf(array, minLength + padding) 279 // Arrays.copyOf() requires Java 6 280 private static float[] copyOf(float[] original, int length) { method in class:Floats
|
H A D | Shorts.java | 345 ? copyOf(array, minLength + padding) 349 // Arrays.copyOf() requires Java 6 350 private static short[] copyOf(short[] original, int length) { method in class:Shorts
|