org.hibernate.validator.ap.util
Class CollectionHelper
java.lang.Object
org.hibernate.validator.ap.util.CollectionHelper
public class CollectionHelper
- extends Object
Provides some methods for simplified collection instantiation.
- Author:
- Gunnar Morling
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionHelper
public CollectionHelper()
newHashMap
public static <K,V> HashMap<K,V> newHashMap()
newHashSet
public static <T> HashSet<T> newHashSet()
newArrayList
public static <T> ArrayList<T> newArrayList()
asSet
public static <T> Set<T> asSet(T... ts)
Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved