Class UnionSet<E>

  • All Implemented Interfaces:
    Iterable<E>, Collection<E>, Set<E>

    public class UnionSet<E>
    extends AbstractSet<E>

    In order to efficiently provide a union of fewer, larger sets, this provides a set view on top of other sets. Any set that is added to this union set via addAll(Set) must not be modified after being added. For performance purposes, defensive copying is not performed.

    Author:
    AO Industries, Inc.