public interface TypeConverter
Comparable
type to another.
Implementations of TypeConverter need to be fully thread-safe and
must have no internal state as they are expected to be used by
multiple threads and with shared instances.Modifier and Type | Method and Description |
---|---|
Comparable |
convert(Comparable value)
Compares a
Comparable typed value to another one. |
Comparable convert(Comparable value)
Comparable
typed value to another one.
Since TypeConverters are not statically typed itself the developer
needs to take care of correct usage of input and output types.value
- the value to be convertedCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.