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>
public class ReferenceInternalConverter<T> extends Object implements InternalConverter<T>
AnInternalConverter
that simply returns a reference to the provided value.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.11.24
-
-
Constructor Summary
Constructors Constructor Description ReferenceInternalConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
fromInternal(Object value)
Converts an internal representation of a value to a value.Object
toInternal(T value)
Converts a value to an internal representation.
-
-
-
Method Detail
-
fromInternal
public T fromInternal(Object value)
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
public Object toInternal(T value)
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
-
-