@ThreadSafe @Immutable public class OptionalIntStringConverter extends Object implements StringConverter<OptionalInt>
OptionalInt and String.| Modifier and Type | Method and Description |
|---|---|
static OptionalIntStringConverter |
create() |
OptionalInt |
fromString(String string)
Convert the provided string into an object.
|
String |
toString(OptionalInt object)
Convert the provided object into a string.
|
EnhancedType<OptionalInt> |
type()
The type supported by this converter.
|
public static OptionalIntStringConverter create()
public EnhancedType<OptionalInt> type()
StringConvertertype in interface StringConverter<OptionalInt>public String toString(OptionalInt object)
StringConvertertoString in interface StringConverter<OptionalInt>public OptionalInt fromString(String string)
StringConverterfromString in interface StringConverter<OptionalInt>Copyright © 2020. All rights reserved.