Class AttachableDelegate<K,V>

java.lang.Object
io.foldright.inspectablewrappers.utils.AttachableDelegate<K,V>
All Implemented Interfaces:
Attachable<K,V>

public class AttachableDelegate<K,V> extends Object implements Attachable<K,V>
A simple Attachable delegate implementation.

Note:
As the attachments are stored in hash map(threadsafe ConcurrentHashMap), the implementation of the key type must meet the requirements of the hash map, which means that a stable hash code and the ability to compare equality using equals() must be implemented.

Author:
Jerry Lee (oldratlee at gmail dot com), Yang Fang (snoop dot fy at gmail dot com), Zava Xu (zava dot kid at gmail dot com)
See Also: