Class AbstractLinkedMap.LinkEntry

  • All Implemented Interfaces:
    java.util.Map.Entry, KeyValue
    Enclosing class:
    AbstractLinkedMap

    protected static class AbstractLinkedMap.LinkEntry
    extends AbstractHashedMap.HashEntry
    LinkEntry that stores the data.

    If you subclass AbstractLinkedMap but not LinkEntry then you will not be able to access the protected fields. The entryXxx() methods on AbstractLinkedMap exist to provide the necessary access.

    • Constructor Detail

      • LinkEntry

        protected LinkEntry​(AbstractHashedMap.HashEntry next,
                            int hashCode,
                            java.lang.Object key,
                            java.lang.Object value)
        Constructs a new entry.
        Parameters:
        next - the next entry in the hash bucket sequence
        hashCode - the hash code
        key - the key
        value - the value