Interface Remappable<V extends Remappable<V,O>, O>

Type Parameters:
V - the cache value type
O - the operand type
All Known Subinterfaces:
ContextualSessionMetaDataEntry<C>, SessionAccessMetaDataEntry, SessionCreationMetaDataEntry<C>
All Known Implementing Classes:
DefaultSessionAccessMetaDataEntry, DefaultSessionCreationMetaDataEntry, DefaultSessionMetaDataEntry

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

    Modifier and Type
    Method
    Description
    remap(O operand)
    Returns a new instance of this object with the specified operand applied.
  • Method Details

    • remap

      V remap(O operand)
      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