boon/src/main/java/org/boon/Sets.java
public static <V> Set<V> set( Collection<V> collection ) {
        if (collection instanceof Set) {
            return (Set <V>) collection;
        }
        if (collection==null) {
            return Collections.EMPTY_SET;
        }
        return new LinkedHashSet<>( collection );
    }
public static <V> Set<V> set( Collection<V> collection ) {
        if (collection instanceof Set) {
            return (Set <V>) collection;
        }
        if (collection==null) {
            return Collections.EMPTY_SET;
        }
        return new LinkedHashSet<>( collection );
    }
public static < V > Set < V > set ( Collection < V > collection ) { if ( collection instanceof Set ) { return ( Set < V > ) collection ; } if ( collection == null ) { return Collections . EMPTY_SET ; } return new LinkedHashSet <> ( collection ) ; }
/* Creation
/ * Creation