@ThreadSafe @Immutable public class ByteStringConverter extends Object implements StringConverter<Byte>, PrimitiveConverter<Byte>
BigInteger
and String
.
This converts values using Byte.toString()
and Byte.valueOf(String)
.
Modifier and Type | Method and Description |
---|---|
static ByteStringConverter |
create() |
Byte |
fromString(String string)
Convert the provided string into an object.
|
EnhancedType<Byte> |
primitiveType()
The type supported by this converter.
|
EnhancedType<Byte> |
type()
The type supported by this converter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public static ByteStringConverter create()
public EnhancedType<Byte> type()
StringConverter
type
in interface StringConverter<Byte>
public EnhancedType<Byte> primitiveType()
PrimitiveConverter
primitiveType
in interface PrimitiveConverter<Byte>
public Byte fromString(String string)
StringConverter
fromString
in interface StringConverter<Byte>
Copyright © 2021. All rights reserved.