Constructor and Description |
---|
Fields.Field(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Fields.Field that,
boolean caseSensitive) |
boolean |
equals(Object obj) |
String |
getName() |
String |
getValue() |
Integer |
getValueAsInt()
Attempts to convert the result of
getValue() to an integer,
returning it if the conversion is successful; returns null if the
result of getValue() is null. |
List<String> |
getValues() |
int |
hashCode() |
boolean |
hasMultipleValues() |
String |
toString() |
public boolean equals(Fields.Field that, boolean caseSensitive)
public String getName()
public String getValue()
public Integer getValueAsInt()
Attempts to convert the result of getValue()
to an integer,
returning it if the conversion is successful; returns null if the
result of getValue()
is null.
getValue()
converted to an integer, or nullNumberFormatException
- if the conversion failspublic boolean hasMultipleValues()
Copyright © 1995-2015 Webtide. All Rights Reserved.