Example usage for Java org.apache.wicket.util.string StringValue fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(final Object obj) |
boolean | isEmpty() Returns whether the text is null or empty |
boolean | isNull() Returns whether the text is null. |
T | to(final Class Converts this StringValue to a given type. |
boolean | toBoolean() Convert this text to a boolean. |
boolean | toBoolean(final boolean defaultValue) Convert to boolean, returning default value if text is inconvertible. |
Boolean | toBooleanObject() Convert this text to a boolean. |
double | toDouble() Convert this text to a double. |
int | toInt() Convert this text to an int. |
Integer | toInteger() Convert this text to an Integer. |
long | toLong() Convert this text to a long. |
long | toLong(final long defaultValue) Convert to long integer, returning default value if text is inconvertible. |
Long | toLongObject() Convert this text to a Long. |
Long | toOptionalLong() Convert to object types, returning null if text is null or empty. |
String | toOptionalString() Convert to object types, returning null if text is null. |
String | toString(final String defaultValue) Convert to primitive types, returning default value if text is null. |
String | toString() |
StringValue | valueOf(final double value) Converts the given input to an instance of StringValue. |
StringValue | valueOf(final Object object) Converts the given input to an instance of StringValue. |
StringValue | valueOf(final String string) Converts the given input to an instance of StringValue. |
StringValue | valueOf(final AppendingStringBuffer buffer) Converts the given input to an instance of StringValue. |
StringValue | valueOf(final double value, final Locale locale) Converts the given input to an instance of StringValue. |
StringValue | valueOf(final Object object, final Locale locale) Converts the given input to an instance of StringValue. |
StringValue | valueOf(final String string, final Locale locale) Converts the given input to an instance of StringValue. |