public final class LongConverter extends Object implements SimpleTypeConverter
Long
objects.
It is thread-safe.
Modifier and Type | Method and Description |
---|---|
static LongConverter |
create()
Returns the single
LongConverter . |
Long |
fromString(String value)
Converts the given
String object into an object with the simple data type this converter is
intended for. |
String |
toString(Object value)
Converts the given value to a
String object. |
public static LongConverter create()
LongConverter
.public Long fromString(String value)
String
object into an object with the simple data type this converter is
intended for.fromString
in interface SimpleTypeConverter
value
- the String
object to convertpublic String toString(Object value)
String
object.toString
in interface SimpleTypeConverter
value
- the value to convertCopyright © 2014. All rights reserved.