Class ReferenceInternalConverter<T>
java.lang.Object
com.tangosol.coherence.jcache.common.ReferenceInternalConverter<T>
- Type Parameters:
T
- the type of values to convert
- All Implemented Interfaces:
InternalConverter<T>
An
InternalConverter
that simply returns a reference to the
provided value.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.11.24
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromInternal
(Object value) Converts an internal representation of a value to a value.toInternal
(T value) Converts a value to an internal representation.
-
Constructor Details
-
ReferenceInternalConverter
public ReferenceInternalConverter()
-
-
Method Details
-
fromInternal
Description copied from interface:InternalConverter
Converts an internal representation of a value to a value.- Specified by:
fromInternal
in interfaceInternalConverter<T>
- Parameters:
value
- the internal representation of the value- Returns:
- the value
-
toInternal
Description copied from interface:InternalConverter
Converts a value to an internal representation.- Specified by:
toInternal
in interfaceInternalConverter<T>
- Parameters:
value
- the value to convert- Returns:
- an internal representation of the value
-