Class ModCountSet<V>

  • Type Parameters:
    V - Type of the elements in the set.
    All Implemented Interfaces:
    Iterable<V>, Collection<V>, Set<V>

    public final class ModCountSet<V>
    extends Object
    implements Set<V>
    A set 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