public class CollectionUtils extends Object
CollectionUtils class provides static utility methods
for dealing with Java collections.| Modifier and Type | Method and Description |
|---|---|
static <E> HashSet<E> |
asSet(E... es)
Return the hash set consisting of adding the specified argument
to a newly constructed set.
|
public static <E> HashSet<E> asSet(E... es)
es - Array of objects to add.Copyright © 2019 Alias-i, Inc.. All rights reserved.