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

  • Type Parameters:
    V - the cache value type
    O - 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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V remap​(O operand)
      Returns a new instance of this object with the specified operand applied.
    • Method Detail

      • 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