Class CollectionFactory
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.util.tools.CollectionFactory
-
public class CollectionFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description CollectionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> List<E>
asList(E... elements)
static <K,V>
LinkedHashMap<K,V>asMap(Object... elements)
static <E> LinkedHashSet<E>
asSet(E... elements)
static <E> LinkedHashSet<E>
asSet(Collection<E> elements)
-
-
-
Method Detail
-
asList
public static <E> List<E> asList(E... elements)
-
asSet
public static <E> LinkedHashSet<E> asSet(E... elements)
-
asSet
public static <E> LinkedHashSet<E> asSet(Collection<E> elements)
-
asMap
public static <K,V> LinkedHashMap<K,V> asMap(Object... elements)
-
-