Home
last modified time | relevance | path

Searched defs:copyOf (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/annotations/hiddenapi/java/util/
DEnumSet.java51 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> copyOf( in copyOf() method in EnumSet
56 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> copyOf( in copyOf() method in EnumSet
DArrays.java458 public static <T> T[] copyOf(T[] original, int newLength) { in copyOf() method in Arrays
462 public static <T, U> T[] copyOf( in copyOf() method in Arrays
467 public static byte[] copyOf(byte[] original, int newLength) { in copyOf() method in Arrays
471 public static short[] copyOf(short[] original, int newLength) { in copyOf() method in Arrays
475 public static int[] copyOf(int[] original, int newLength) { in copyOf() method in Arrays
479 public static long[] copyOf(long[] original, int newLength) { in copyOf() method in Arrays
483 public static char[] copyOf(char[] original, int newLength) { in copyOf() method in Arrays
487 public static float[] copyOf(float[] original, int newLength) { in copyOf() method in Arrays
491 public static double[] copyOf(double[] original, int newLength) { in copyOf() method in Arrays
495 public static boolean[] copyOf(boolean[] original, int newLength) { in copyOf() method in Arrays
/libcore/ojluni/src/main/java/java/util/
DEnumSet.java153 public static <E extends Enum<E>> EnumSet<E> copyOf(EnumSet<E> s) { in copyOf() method in EnumSet
171 public static <E extends Enum<E>> EnumSet<E> copyOf(Collection<E> c) { in copyOf() method in EnumSet
DSet.java728 static <E> Set<E> copyOf(Collection<? extends E> coll) { in copyOf() method
DArrays.java3521 public static <T> T[] copyOf(T[] original, int newLength) { in copyOf() method in Arrays
3550 public static <T,U> T[] copyOf(U[] original, int newLength, Class<? extends T[]> newType) { in copyOf() method in Arrays
3577 public static byte[] copyOf(byte[] original, int newLength) { in copyOf() method in Arrays
3601 public static short[] copyOf(short[] original, int newLength) { in copyOf() method in Arrays
3625 public static int[] copyOf(int[] original, int newLength) { in copyOf() method in Arrays
3649 public static long[] copyOf(long[] original, int newLength) { in copyOf() method in Arrays
3673 public static char[] copyOf(char[] original, int newLength) { in copyOf() method in Arrays
3697 public static float[] copyOf(float[] original, int newLength) { in copyOf() method in Arrays
3721 public static double[] copyOf(double[] original, int newLength) { in copyOf() method in Arrays
3745 public static boolean[] copyOf(boolean[] original, int newLength) { in copyOf() method in Arrays
DMap.java596 public static <K, V> Map.Entry<K, V> copyOf(Map.Entry<? extends K, ? extends V> e) { in copyOf() method
1722 static <K, V> Map<K, V> copyOf(Map<? extends K, ? extends V> map) { in copyOf() method
DList.java1086 static <E> List<E> copyOf(Collection<? extends E> coll) { in copyOf() method
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java246 public static <T> T @libcore.util.NonNull [] copyOf(T @libcore.util.NonNull [] original, int newLen… in copyOf() method in Arrays
248 public static <T, U> T @libcore.util.NonNull [] copyOf(U @libcore.util.NonNull [] original, int new… in copyOf() method in Arrays
250 public static byte @libcore.util.NonNull [] copyOf(byte @libcore.util.NonNull [] original, int newL… in copyOf() method in Arrays
252 public static short @libcore.util.NonNull [] copyOf(short @libcore.util.NonNull [] original, int ne… in copyOf() method in Arrays
254 public static int @libcore.util.NonNull [] copyOf(int @libcore.util.NonNull [] original, int newLen… in copyOf() method in Arrays
256 public static long @libcore.util.NonNull [] copyOf(long @libcore.util.NonNull [] original, int newL… in copyOf() method in Arrays
258 public static char @libcore.util.NonNull [] copyOf(char @libcore.util.NonNull [] original, int newL… in copyOf() method in Arrays
260 public static float @libcore.util.NonNull [] copyOf(float @libcore.util.NonNull [] original, int ne… in copyOf() method in Arrays
262 public static double @libcore.util.NonNull [] copyOf(double @libcore.util.NonNull [] original, int … in copyOf() method in Arrays
264 public static boolean @libcore.util.NonNull [] copyOf(boolean @libcore.util.NonNull [] original, in… in copyOf() method in Arrays
DSet.annotated.java91 @libcore.util.NonNull public static <E> java.util.Set<E> copyOf(@libcore.util.NonNull java.util.Col… in copyOf() method
DList.annotated.java115 @libcore.util.NonNull public static <E> java.util.List<@libcore.util.NonNull E> copyOf(@libcore.uti… in copyOf() method
DMap.annotated.java132 @libcore.util.NonNull public static <K, V> java.util.Map<K, V> copyOf(@libcore.util.NonNull java.ut… in copyOf() method
/libcore/ojluni/src/test/java/util/Arrays/
DArraysEqCmpTest.java178 Object copyOf(Object a) { in copyOf() method in ArraysEqCmpTest.ArrayType
182 Object copyOf(Object a, int from, int to) { in copyOf() method in ArraysEqCmpTest.ArrayType