a-foundation/src/main/java/com/ajjpj/afoundation/collection/ACollectionHelper.java
public static <T> ASetWrapper<T> asASetView (Collection<T> c) {
        if (c instanceof Set) {
            return new ASetWrapper<> ((Set<T>) c);
        }

        return new ASetWrapper<> (new HashSet<> (c));
    }
public static <T> ASetWrapper<T> asASetView (Collection<T> c) {
        if (c instanceof Set) {
            return new ASetWrapper<> ((Set<T>) c);
        }

        return new ASetWrapper<> (new HashSet<> (c));
    }
Wraps the content of a <code>java.util.Set</code> in an <code>ASet</code> instance. While the returned
instance itself has no mutator methods, changes to the underlying collection are reflected in the wrapping
<code>ASet</code> instance.<p>

The returned collection has set semantics with regard to <code>map()</code> and other modifying methods; duplicate
values are removed.