public enum Clones extends Enum<Clones>
Modifier and Type | Method and Description |
---|---|
static byte[] |
clone(byte[] byteArray)
clone.
|
static Date |
clone(Date date)
clone.
|
static int[] |
clone(int[] intArray)
clone.
|
static Long[] |
clone(Long[] longArray)
clone.
|
static String[] |
clone(String[] stringArray)
clone.
|
static Clones |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Clones[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static Clones[] values()
for (Clones c : Clones.values()) System.out.println(c);
public static Clones valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static byte[] clone(byte[] byteArray)
clone.
byteArray
- an array of byte.public static int[] clone(int[] intArray)
clone.
intArray
- an array of int.Copyright © 2015 Oracle and/or its affiliates. All rights reserved.