Class SetUtils

java.lang.Object
org.craftercms.commons.collections.SetUtils

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

    • 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