Package org.infinispan.cdi.common.util
Class Arrays2
java.lang.Object
org.infinispan.cdi.common.util.Arrays2
A collection of utilities for working with Arrays that goes beyond that in
the JDK.
- Author:
- Pete Muir
-
Method Summary
-
Method Details
-
asSet
Create a set from an array. If the array contains duplicate objects, the last object in the array will be placed in resultant set.- Type Parameters:
T- the type of the objects in the set- Parameters:
array- the array from which to create the set- Returns:
- the created sets
-