public class LongStringConverter extends StringConverter<Long>
StringConverter implementation for Long
(and long primitive) values.
| Constructor and Description |
|---|
LongStringConverter() |
| Modifier and Type | Method and Description |
|---|---|
Long |
fromString(String value)
Converts the string provided into an object defined by the specific converter.
|
String |
toString(Long value)
Converts the object provided into its string form.
|
public Long fromString(String value)
fromString in class StringConverter<Long>public String toString(Long value)
toString in class StringConverter<Long>Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.