Class SetUtils

java.lang.Object
org.restlet.engine.util.SetUtils

public class SetUtils extends Object
Utilities for manipulation of Set.
Author:
Manuel Boillod
  • Constructor Details

    • SetUtils

      public SetUtils()
  • Method Details

    • newHashSet

      @SafeVarargs public static <E> Set<E> newHashSet(E... elements)
      Returns a new HashSet with the given elements
      Parameters:
      elements - The elements
      Returns:
      A new HashSet with the given elements