Class ModCountDeque<T>

  • Type Parameters:
    T - The type of elements in the deque.
    All Implemented Interfaces:
    Iterable<T>, Collection<T>, Deque<T>, Queue<T>

    public final class ModCountDeque<T>
    extends Object
    implements Deque<T>
    A Deque that keeps track of the number of modifications made to it. The only guarantee is that the modification increases by some amount when the deque is modified. No guarantees are made about the exact amount by which the modification counter increases. This class is not thread-safe.
    Since:
    8.2.0