ehcache

net.sf.ehcache.store.compound
Class ImmutableValueElementCopyStrategy

java.lang.Object
  extended by net.sf.ehcache.store.compound.ImmutableValueElementCopyStrategy
All Implemented Interfaces:
CopyStrategy

public class ImmutableValueElementCopyStrategy
extends java.lang.Object
implements CopyStrategy

Author:
Alex Snaps

Constructor Summary
ImmutableValueElementCopyStrategy()
           
 
Method Summary
<T> T
copy(T value)
          Deep copies some object and returns the copy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableValueElementCopyStrategy

public ImmutableValueElementCopyStrategy()
Method Detail

copy

public <T> T copy(T value)
Description copied from interface: CopyStrategy
Deep copies some object and returns the copy

Specified by:
copy in interface CopyStrategy
Type Parameters:
T - type
Parameters:
value - the value to copy
Returns:
the copy

ehcache

true