Class UnsignedLongConverter
java.lang.Object
com.github.joschi.jadconfig.guava.converters.UnsignedLongConverter
- All Implemented Interfaces:
Converter<com.google.common.primitives.UnsignedLong>
public class UnsignedLongConverter
extends Object
implements Converter<com.google.common.primitives.UnsignedLong>
Converter for type
UnsignedLong.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.primitives.UnsignedLongconvertFrom(String value) Returns aUnsignedLonginstance representing the specifiedStringvalue.convertTo(com.google.common.primitives.UnsignedLong value) Returns aStringinstance representing the configuration parameter's value.
-
Constructor Details
-
UnsignedLongConverter
public UnsignedLongConverter()
-
-
Method Details
-
convertFrom
Returns aUnsignedLonginstance representing the specifiedStringvalue.- Specified by:
convertFromin interfaceConverter<com.google.common.primitives.UnsignedLong>- Parameters:
value- The configuration parameter'sStringvalue- Returns:
- An
UnsignedLonginstance representing the configuration parameter's value
-
convertTo
Returns aStringinstance representing the configuration parameter's value.
-