public class CollectionFactory extends Object
| Constructor and Description | 
|---|
| CollectionFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <E> List<E> | asList(E... elements) | 
| static <K,V> LinkedHashMap<K,V> | asMap(Object... elements) | 
| static <E> LinkedHashSet<E> | asSet(Collection<E> elements) | 
| static <E> LinkedHashSet<E> | asSet(E... elements) | 
public static <E> List<E> asList(E... elements)
public static <E> LinkedHashSet<E> asSet(E... elements)
public static <E> LinkedHashSet<E> asSet(Collection<E> elements)
public static <K,V> LinkedHashMap<K,V> asMap(Object... elements)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.