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>
An InternalConverter that simply returns a reference to the provided value.
Since:
Coherence 12.1.3
Author:
bo 2013.11.24
  • Constructor Details

    • ReferenceInternalConverter

      public ReferenceInternalConverter()
  • Method Details

    • 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 interface InternalConverter<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 interface InternalConverter<T>
      Parameters:
      value - the value to convert
      Returns:
      an internal representation of the value