Class OpenHashMap.EntrySet.Entry

All Implemented Interfaces:
InvocableMap.Entry, MapTrigger.Entry, QueryMap.Entry, Serializable, Cloneable, Map.Entry
Enclosing class:
OpenHashMap.EntrySet

protected class OpenHashMap.EntrySet.Entry extends AbstractKeyBasedMap.EntrySet.Entry
An Entry implementation that is augmented to allow an Entry instance to be re-used, which means that the same Entry instance can represent different map entries over time.
See Also:
  • Constructor Details

    • Entry

      protected Entry(Object oKey, Object oValue)
      Construct an Entry.
      Parameters:
      oKey - the Entry key
      oValue - the Entry value (optional)
  • Method Details

    • reuse

      protected void reuse(Object oKey, Object oValue)
      Re-use the Entry instance for a different key and value.
      Parameters:
      oKey - the new key
      oValue - the new value