public class ArraySet<E>
A simple Set implementation backed by an array. Currently implemented as a wrapper around
ArrayMap because Google's ArraySet is API23+ and not yet available from a support library.
Google's ArraySet should be a drop-in replacement for this class, and will be a little more
efficient and complete.
public void clearAndAddAll(ArraySet<? extends E> collection)
Equivalent to calling clear() followed by addAll(Collection), but this should
make it more apparent that this is an optimized code path. Instead of needing lots of O(log2 N)
operations, this special case is optimized to perform in O(N) time, where N is the size of the