Interface InstanceRemover

All Known Subinterfaces:
Instances
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A facility for removing contextual instances from some kind of storage.
Author:
Laird Nelson
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    remove(Id id)
    Removes the contextual instance indexed under the supplied Id.
  • Method Details

    • remove

      boolean remove(Id id)
      Removes the contextual instance indexed under the supplied Id.
      Parameters:
      id - an Id; may be null in which case false will be returned
      Returns:
      true if removal successfully took place; false otherwise