Interface HashCommon.NotifyEmpty

All Known Implementing Classes:
NodeToTriplesMapMem.NotifyMe
Enclosing class:
HashCommon<Key>

public static interface HashCommon.NotifyEmpty
A hashed structure may become empty as a side-effect of a .remove on one of its iterators: a container can request notification of this by passing a NotifyEmpty object in when the iterator is constructed, and its emptied method is called when the bunch becomes empty.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A NotifyEmpty instance that ignores the notification.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to call to notify that the collection has become empty.
  • Field Details

  • Method Details

    • emptied

      void emptied()
      Method to call to notify that the collection has become empty.