Interface Remappable<V extends Remappable<V,O>,O>
- Type Parameters:
V- the cache value typeO- the operand type
public interface Remappable<V extends Remappable<V,O>,O>
Implemented by cache value types that support copy-on-write operations.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
remap
Returns a new instance of this object with the specified operand applied.- Parameters:
operand- a value applied to the replacement value- Returns:
- a replacement value
-