static enum Resources.EmptyPropertyAccessor extends Enum<Resources.EmptyPropertyAccessor> implements Resources.PropertyAccessor
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue(Resources.BooleanProp p) |
boolean |
booleanValue(Resources.BooleanProp p,
boolean defaultValue) |
double |
doubleValue(Resources.DoubleProp p) |
double |
doubleValue(Resources.DoubleProp p,
double defaultValue) |
int |
intValue(Resources.IntProp p) |
int |
intValue(Resources.IntProp p,
int defaultValue) |
boolean |
isSet(Resources.Prop p) |
String |
stringValue(Resources.StringProp p) |
String |
stringValue(Resources.StringProp p,
String defaultValue) |
static Resources.EmptyPropertyAccessor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resources.EmptyPropertyAccessor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resources.EmptyPropertyAccessor INSTANCE
public static Resources.EmptyPropertyAccessor[] values()
for (Resources.EmptyPropertyAccessor c : Resources.EmptyPropertyAccessor.values()) System.out.println(c);
public static Resources.EmptyPropertyAccessor 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 boolean isSet(Resources.Prop p)
isSet in interface Resources.PropertyAccessorpublic int intValue(Resources.IntProp p)
intValue in interface Resources.PropertyAccessorpublic int intValue(Resources.IntProp p, int defaultValue)
intValue in interface Resources.PropertyAccessorpublic String stringValue(Resources.StringProp p)
stringValue in interface Resources.PropertyAccessorpublic String stringValue(Resources.StringProp p, String defaultValue)
stringValue in interface Resources.PropertyAccessorpublic boolean booleanValue(Resources.BooleanProp p)
booleanValue in interface Resources.PropertyAccessorpublic boolean booleanValue(Resources.BooleanProp p, boolean defaultValue)
booleanValue in interface Resources.PropertyAccessorpublic double doubleValue(Resources.DoubleProp p)
doubleValue in interface Resources.PropertyAccessorpublic double doubleValue(Resources.DoubleProp p, double defaultValue)
doubleValue in interface Resources.PropertyAccessorCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.