public static enum AnnotationValue.ForConstant.PropertyDelegate.ForArrayType extends Enum<AnnotationValue.ForConstant.PropertyDelegate.ForArrayType> implements AnnotationValue.ForConstant.PropertyDelegate
AnnotationValue.ForConstant.PropertyDelegate.ForArrayType, AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType| Enum Constant and Description |
|---|
BOOLEAN
A property delegate for a
boolean[] value. |
BYTE
A property delegate for a
byte[] value. |
CHARACTER
A property delegate for a
char[] value. |
DOUBLE
A property delegate for a
double[] value. |
FLOAT
A property delegate for a
float[] value. |
INTEGER
A property delegate for a
int[] value. |
LONG
A property delegate for a
long[] value. |
SHORT
A property delegate for a
short[] value. |
STRING
A property delegate for a
String[] value. |
| Modifier and Type | Method and Description |
|---|---|
<S> S |
copy(S value)
Copies the provided value, if it is not immutable.
|
protected abstract Object |
doCopy(Object value)
Creates a copy of the provided array.
|
String |
toString() |
String |
toString(Object value)
Renders the supplied value as a
String. |
protected abstract String |
toString(Object array,
int index)
Renders the array element at the specified index.
|
static AnnotationValue.ForConstant.PropertyDelegate.ForArrayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationValue.ForConstant.PropertyDelegate.ForArrayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfequals, hashCodepublic static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType BOOLEAN
boolean[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType BYTE
byte[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType SHORT
short[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType CHARACTER
char[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType INTEGER
int[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType LONG
long[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType FLOAT
float[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType DOUBLE
double[] value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForArrayType STRING
String[] value.public static AnnotationValue.ForConstant.PropertyDelegate.ForArrayType[] values()
for (AnnotationValue.ForConstant.PropertyDelegate.ForArrayType c : AnnotationValue.ForConstant.PropertyDelegate.ForArrayType.values()) System.out.println(c);
public static AnnotationValue.ForConstant.PropertyDelegate.ForArrayType 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 <S> S copy(S value)
AnnotationValue.ForConstant.PropertyDelegatecopy in interface AnnotationValue.ForConstant.PropertyDelegateS - The value's type.value - The value to copy.protected abstract Object doCopy(Object value)
value - The array to copy.public String toString(Object value)
AnnotationValue.ForConstant.PropertyDelegateString.toString in interface AnnotationValue.ForConstant.PropertyDelegatevalue - The value to render.String representation of the provided value.protected abstract String toString(Object array, int index)
array - The array for which an element should be rendered.index - The index of the array element to render.String representation of the array element at the supplied index.public String toString()
toString in class Enum<AnnotationValue.ForConstant.PropertyDelegate.ForArrayType>Copyright © 2014–2016. All rights reserved.