Class LinkedSplayMap<E>

    • Constructor Detail

      • LinkedSplayMap

        public LinkedSplayMap()
    • Method Detail

      • values

        public java.util.Collection<E> values()
        Specified by:
        values in interface java.util.Map<UnsignedInteger,​E>
        Specified by:
        values in interface java.util.SortedMap<UnsignedInteger,​E>
        Overrides:
        values in class SplayMap<E>
      • forEach

        public void forEach​(java.util.function.Consumer<? super E> action)
        Description copied from class: SplayMap
        A specialized forEach implementation that accepts a Consumer function that will be called for each value in the SplayMap. This method can save overhead as it does not need to box the primitive key values into an object for the call to the provided function. Unless otherwise specified by the implementing class, actions are performed in the order of entry set iteration (if an iteration order is specified.)
        Overrides:
        forEach in class SplayMap<E>
        Parameters:
        action - The action to be performed for each of the values in the SplayMap.