Class SetUtils


  • public class SetUtils
    extends Object
    Utilities for the Set collection.
    Author:
    avasquez
    • Method Detail

      • asSet

        @SafeVarargs
        public static <T> Set<T> asSet​(T... array)
        Creates a set from the array elements.
        Parameters:
        array - the array with the elements
        Returns:
        the set with the elements