Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
hasMultipleValues() |
String |
name() |
String |
toString() |
String |
value() |
Integer |
valueAsInt()
|
String[] |
values() |
public String name()
public String value()
public Integer valueAsInt()
Attempts to convert the result of value()
to an integer,
returning it if the conversion is successful; returns null if the
result of value()
is null.
value()
converted to an integer, or nullNumberFormatException
- if the conversion failspublic String[] values()
public boolean hasMultipleValues()
Copyright © 1995-2019 Mort Bay Consulting. All Rights Reserved.