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