Interface ScheduledEntries<K,​V>

    • Method Detail

      • isSorted

        boolean isSorted()
        Indicates whether the entries are sorted, or if iteration order recapitulates insertion order.
        Returns:
        true, if these entries are sorted, false otherwise.
      • add

        void add​(K key,
                 V value)
        Adds an entry using the specified key and value.
        Parameters:
        key - an entry key
        value - an entry value
      • remove

        void remove​(K key)
        Removes the entry with the specified key.
        Parameters:
        key - an entry key
      • peek

        default Map.Entry<K,​V> peek()
        Returns, but does not remove, the first entry.