public static enum AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType extends Enum<AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType> 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.
|
boolean |
equals(Object self,
Object other)
Determines if another value is equal to a constant annotation value.
|
int |
hashCode(Object value)
Computes the value's hash code.
|
String |
toString() |
static AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType[] |
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, valueOftoStringpublic static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType BOOLEAN
boolean value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType BYTE
byte value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType SHORT
short value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType CHARACTER
char value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType INTEGER
int value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType LONG
long value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType FLOAT
float value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType DOUBLE
double value.public static final AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType STRING
String value.public static AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType[] values()
for (AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType c : AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType.values()) System.out.println(c);
public static AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType 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.public int hashCode(Object value)
AnnotationValue.ForConstant.PropertyDelegatehashCode in interface AnnotationValue.ForConstant.PropertyDelegatevalue - The value for which to compute the hash code.public boolean equals(Object self, Object other)
AnnotationValue.ForConstant.PropertyDelegateequals in interface AnnotationValue.ForConstant.PropertyDelegateself - The value that is represented as a constant annotation value.other - Any other value for which to determine equality.true if the provided value is equal to the represented value.public String toString()
toString in class Enum<AnnotationValue.ForConstant.PropertyDelegate.ForNonArrayType>Copyright © 2014–2016. All rights reserved.