public abstract class PrimitiveStringifier extends Object
stringify is overloaded for each primitive types. The overloaded
methods not implemented for the related types throw OperationNotSupportedException.| Modifier and Type | Method and Description |
|---|---|
String |
stringify(Binary value) |
String |
stringify(boolean value) |
String |
stringify(double value) |
String |
stringify(float value) |
String |
stringify(int value) |
String |
stringify(long value) |
String |
toString() |
public String stringify(boolean value)
value - the value to be stringifiedvalueUnsupportedOperationException - if value type is not supported by this stringifierpublic String stringify(int value)
value - the value to be stringifiedvalueUnsupportedOperationException - if value type is not supported by this stringifierpublic String stringify(long value)
value - the value to be stringifiedvalueUnsupportedOperationException - if value type is not supported by this stringifierpublic String stringify(float value)
value - the value to be stringifiedvalueUnsupportedOperationException - if value type is not supported by this stringifierpublic String stringify(double value)
value - the value to be stringifiedvalueUnsupportedOperationException - if value type is not supported by this stringifierpublic String stringify(Binary value)
value - the value to be stringifiedvalueUnsupportedOperationException - if value type is not supported by this stringifierCopyright © 2024 The Apache Software Foundation. All rights reserved.