org.seasar.framework.util.tiger
クラス CollectionsUtil

java.lang.Object
  上位を拡張 org.seasar.framework.util.tiger.CollectionsUtil

public abstract class CollectionsUtil
extends Object

作成者:
koichik

メソッドの概要
static
<E> ArrayBlockingQueue<E>
newArrayBlockingQueue(int initialCapacity)
           
static
<E> ArrayBlockingQueue<E>
newArrayBlockingQueue(int capacity, boolean fair)
           
static
<E> ArrayBlockingQueue<E>
newArrayBlockingQueue(int capacity, boolean fair, Collection<? extends E> c)
           
static
<E> ArrayList<E>
newArrayList()
           
static
<E> ArrayList<E>
newArrayList(Collection<? extends E> c)
           
static
<E> ArrayList<E>
newArrayList(int initialCapacity)
           
static
<K,V> ConcurrentHashMap<K,V>
newConcurrentHashMap()
           
static
<K,V> ConcurrentHashMap<K,V>
newConcurrentHashMap(int initialCapacity)
           
static
<K,V> ConcurrentHashMap<K,V>
newConcurrentHashMap(int initialCapacity, float loadFactor, int concurrencyLevel)
           
static
<K,V> ConcurrentHashMap<K,V>
newConcurrentHashMap(Map<? extends K,? extends V> m)
           
static
<E> ConcurrentLinkedQueue<E>
newConcurrentLinkedQueue()
           
static
<E> ConcurrentLinkedQueue<E>
newConcurrentLinkedQueue(Collection<? extends E> c)
           
static
<E> CopyOnWriteArrayList<E>
newCopyOnWriteArrayList()
           
static
<E> CopyOnWriteArrayList<E>
newCopyOnWriteArrayList(Collection<? extends E> c)
           
static
<E> CopyOnWriteArrayList<E>
newCopyOnWriteArrayList(E[] toCopyIn)
           
static
<E> CopyOnWriteArraySet<E>
newCopyOnWriteArraySet()
           
static
<E> CopyOnWriteArraySet<E>
newCopyOnWriteArraySet(Collection<? extends E> c)
           
static
<E extends Delayed>
DelayQueue<E>
newDelayQueue()
           
static
<E extends Delayed>
DelayQueue<E>
newDelayQueue(Collection<? extends E> c)
           
static
<K,V> HashMap<K,V>
newHashMap()
           
static
<K,V> HashMap<K,V>
newHashMap(int initialCapacity)
           
static
<K,V> HashMap<K,V>
newHashMap(int initialCapacity, float loadFactor)
           
static
<K,V> HashMap<K,V>
newHashMap(Map<? extends K,? extends V> m)
           
static
<E> HashSet<E>
newHashSet()
           
static
<E> HashSet<E>
newHashSet(Collection<? extends E> c)
           
static
<E> HashSet<E>
newHashSet(int initialCapacity)
           
static
<E> HashSet<E>
newHashSet(int initialCapacity, float loadFactor)
           
static
<K,V> Hashtable<K,V>
newHashtable()
           
static
<K,V> Hashtable<K,V>
newHashtable(int initialCapacity)
           
static
<K,V> Hashtable<K,V>
newHashtable(int initialCapacity, float loadFactor)
           
static
<K,V> Hashtable<K,V>
newHashtable(Map<? extends K,? extends V> m)
           
static
<K,V> IdentityHashMap<K,V>
newIdentityHashMap()
           
static
<K,V> IdentityHashMap<K,V>
newIdentityHashMap(int expectedMaxSize)
           
static
<K,V> IdentityHashMap<K,V>
newIdentityHashMap(Map<? extends K,? extends V> m)
           
static
<E> LinkedBlockingQueue<E>
newLinkedBlockingQueue()
           
static
<E> LinkedBlockingQueue<E>
newLinkedBlockingQueue(Collection<? extends E> c)
           
static
<E> LinkedBlockingQueue<E>
newLinkedBlockingQueue(int initialCapacity)
           
static
<K,V> LinkedHashMap<K,V>
newLinkedHashMap()
           
static
<K,V> LinkedHashMap<K,V>
newLinkedHashMap(int initialCapacity)
           
static
<K,V> LinkedHashMap<K,V>
newLinkedHashMap(int initialCapacity, float loadFactor)
           
static
<K,V> LinkedHashMap<K,V>
newLinkedHashMap(Map<? extends K,? extends V> m)
           
static
<E> LinkedHashSet<E>
newLinkedHashSet()
           
static
<E> LinkedHashSet<E>
newLinkedHashSet(Collection<? extends E> c)
           
static
<E> LinkedHashSet<E>
newLinkedHashSet(int initialCapacity)
           
static
<E> LinkedHashSet<E>
newLinkedHashSet(int initialCapacity, float loadFactor)
           
static
<E> LinkedList<E>
newLinkedList()
           
static
<E> LinkedList<E>
newLinkedList(Collection<? extends E> c)
           
static
<E> PriorityBlockingQueue<E>
newPriorityBlockingQueue()
           
static
<E> PriorityBlockingQueue<E>
newPriorityBlockingQueue(Collection<? extends E> c)
           
static
<E> PriorityBlockingQueue<E>
newPriorityBlockingQueue(int initialCapacity)
           
static
<E> PriorityBlockingQueue<E>
newPriorityBlockingQueue(int initialCapacity, Comparator<? super E> comparator)
           
static
<E> PriorityQueue<E>
newPriorityQueue()
           
static
<E> PriorityQueue<E>
newPriorityQueue(Collection<? extends E> c)
           
static
<E> PriorityQueue<E>
newPriorityQueue(int initialCapacity)
           
static
<E> PriorityQueue<E>
newPriorityQueue(int initialCapacity, Comparator<? super E> comparator)
           
static
<E> PriorityQueue<E>
newPriorityQueue(PriorityQueue<? extends E> c)
           
static
<E> PriorityQueue<E>
newPriorityQueue(SortedSet<? extends E> c)
           
static
<E> Stack<E>
newStack()
           
static
<K,V> TreeMap<K,V>
newTreeMap()
           
static
<K,V> TreeMap<K,V>
newTreeMap(Comparator<? super K> c)
           
static
<K,V> TreeMap<K,V>
newTreeMap(Map<? extends K,? extends V> m)
           
static
<K,V> TreeMap<K,V>
newTreeMap(SortedMap<K,? extends V> m)
           
static
<E> TreeSet<E>
newTreeSet()
           
static
<E> TreeSet<E>
newTreeSet(Collection<? extends E> c)
           
static
<E> TreeSet<E>
newTreeSet(Comparator<? super E> c)
           
static
<E> TreeSet<E>
newTreeSet(SortedSet<? extends E> s)
           
static
<E> Vector<E>
newVector()
           
static
<E> Vector<E>
newVector(Collection<? extends E> c)
           
static
<E> Vector<E>
newVector(int initialCapacity)
           
static
<E> Vector<E>
newVector(int initialCapacity, int capacityIncrement)
           
static
<K,V> WeakHashMap<K,V>
newWeakHashMap()
           
static
<K,V> WeakHashMap<K,V>
newWeakHashMap(int initialCapacity)
           
static
<K,V> WeakHashMap<K,V>
newWeakHashMap(int initialCapacity, float loadFactor)
           
static
<K,V> WeakHashMap<K,V>
newWeakHashMap(Map<? extends K,? extends V> m)
           
static
<K,V> V
putIfAbsent(ConcurrentMap<K,V> map, K key, V value)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

newArrayBlockingQueue

public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int initialCapacity)

newArrayBlockingQueue

public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity,
                                                              boolean fair)

newArrayBlockingQueue

public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity,
                                                              boolean fair,
                                                              Collection<? extends E> c)

newArrayList

public static <E> ArrayList<E> newArrayList()

newArrayList

public static <E> ArrayList<E> newArrayList(Collection<? extends E> c)

newArrayList

public static <E> ArrayList<E> newArrayList(int initialCapacity)

newConcurrentHashMap

public static <K,V> ConcurrentHashMap<K,V> newConcurrentHashMap()

newConcurrentHashMap

public static <K,V> ConcurrentHashMap<K,V> newConcurrentHashMap(int initialCapacity)

newConcurrentHashMap

public static <K,V> ConcurrentHashMap<K,V> newConcurrentHashMap(int initialCapacity,
                                                                float loadFactor,
                                                                int concurrencyLevel)

newConcurrentHashMap

public static <K,V> ConcurrentHashMap<K,V> newConcurrentHashMap(Map<? extends K,? extends V> m)

newConcurrentLinkedQueue

public static <E> ConcurrentLinkedQueue<E> newConcurrentLinkedQueue()

newConcurrentLinkedQueue

public static <E> ConcurrentLinkedQueue<E> newConcurrentLinkedQueue(Collection<? extends E> c)

newCopyOnWriteArrayList

public static <E> CopyOnWriteArrayList<E> newCopyOnWriteArrayList()

newCopyOnWriteArrayList

public static <E> CopyOnWriteArrayList<E> newCopyOnWriteArrayList(Collection<? extends E> c)

newCopyOnWriteArrayList

public static <E> CopyOnWriteArrayList<E> newCopyOnWriteArrayList(E[] toCopyIn)

newCopyOnWriteArraySet

public static <E> CopyOnWriteArraySet<E> newCopyOnWriteArraySet()

newCopyOnWriteArraySet

public static <E> CopyOnWriteArraySet<E> newCopyOnWriteArraySet(Collection<? extends E> c)

newDelayQueue

public static <E extends Delayed> DelayQueue<E> newDelayQueue()

newDelayQueue

public static <E extends Delayed> DelayQueue<E> newDelayQueue(Collection<? extends E> c)

newHashMap

public static <K,V> HashMap<K,V> newHashMap()

newHashMap

public static <K,V> HashMap<K,V> newHashMap(int initialCapacity)

newHashMap

public static <K,V> HashMap<K,V> newHashMap(int initialCapacity,
                                            float loadFactor)

newHashMap

public static <K,V> HashMap<K,V> newHashMap(Map<? extends K,? extends V> m)

newHashSet

public static <E> HashSet<E> newHashSet()

newHashSet

public static <E> HashSet<E> newHashSet(Collection<? extends E> c)

newHashSet

public static <E> HashSet<E> newHashSet(int initialCapacity)

newHashSet

public static <E> HashSet<E> newHashSet(int initialCapacity,
                                        float loadFactor)

newHashtable

public static <K,V> Hashtable<K,V> newHashtable()

newHashtable

public static <K,V> Hashtable<K,V> newHashtable(int initialCapacity)

newHashtable

public static <K,V> Hashtable<K,V> newHashtable(int initialCapacity,
                                                float loadFactor)

newHashtable

public static <K,V> Hashtable<K,V> newHashtable(Map<? extends K,? extends V> m)

newIdentityHashMap

public static <K,V> IdentityHashMap<K,V> newIdentityHashMap()

newIdentityHashMap

public static <K,V> IdentityHashMap<K,V> newIdentityHashMap(int expectedMaxSize)

newIdentityHashMap

public static <K,V> IdentityHashMap<K,V> newIdentityHashMap(Map<? extends K,? extends V> m)

newLinkedBlockingQueue

public static <E> LinkedBlockingQueue<E> newLinkedBlockingQueue()

newLinkedBlockingQueue

public static <E> LinkedBlockingQueue<E> newLinkedBlockingQueue(Collection<? extends E> c)

newLinkedBlockingQueue

public static <E> LinkedBlockingQueue<E> newLinkedBlockingQueue(int initialCapacity)

newLinkedHashMap

public static <K,V> LinkedHashMap<K,V> newLinkedHashMap()

newLinkedHashMap

public static <K,V> LinkedHashMap<K,V> newLinkedHashMap(int initialCapacity)

newLinkedHashMap

public static <K,V> LinkedHashMap<K,V> newLinkedHashMap(int initialCapacity,
                                                        float loadFactor)

newLinkedHashMap

public static <K,V> LinkedHashMap<K,V> newLinkedHashMap(Map<? extends K,? extends V> m)

newLinkedHashSet

public static <E> LinkedHashSet<E> newLinkedHashSet()

newLinkedHashSet

public static <E> LinkedHashSet<E> newLinkedHashSet(Collection<? extends E> c)

newLinkedHashSet

public static <E> LinkedHashSet<E> newLinkedHashSet(int initialCapacity)

newLinkedHashSet

public static <E> LinkedHashSet<E> newLinkedHashSet(int initialCapacity,
                                                    float loadFactor)

newLinkedList

public static <E> LinkedList<E> newLinkedList()

newLinkedList

public static <E> LinkedList<E> newLinkedList(Collection<? extends E> c)

newPriorityBlockingQueue

public static <E> PriorityBlockingQueue<E> newPriorityBlockingQueue()

newPriorityBlockingQueue

public static <E> PriorityBlockingQueue<E> newPriorityBlockingQueue(Collection<? extends E> c)

newPriorityBlockingQueue

public static <E> PriorityBlockingQueue<E> newPriorityBlockingQueue(int initialCapacity)

newPriorityBlockingQueue

public static <E> PriorityBlockingQueue<E> newPriorityBlockingQueue(int initialCapacity,
                                                                    Comparator<? super E> comparator)

newPriorityQueue

public static <E> PriorityQueue<E> newPriorityQueue()

newPriorityQueue

public static <E> PriorityQueue<E> newPriorityQueue(Collection<? extends E> c)

newPriorityQueue

public static <E> PriorityQueue<E> newPriorityQueue(int initialCapacity)

newPriorityQueue

public static <E> PriorityQueue<E> newPriorityQueue(int initialCapacity,
                                                    Comparator<? super E> comparator)

newPriorityQueue

public static <E> PriorityQueue<E> newPriorityQueue(PriorityQueue<? extends E> c)

newPriorityQueue

public static <E> PriorityQueue<E> newPriorityQueue(SortedSet<? extends E> c)

newStack

public static <E> Stack<E> newStack()

newTreeMap

public static <K,V> TreeMap<K,V> newTreeMap()

newTreeMap

public static <K,V> TreeMap<K,V> newTreeMap(Comparator<? super K> c)

newTreeMap

public static <K,V> TreeMap<K,V> newTreeMap(Map<? extends K,? extends V> m)

newTreeMap

public static <K,V> TreeMap<K,V> newTreeMap(SortedMap<K,? extends V> m)

newTreeSet

public static <E> TreeSet<E> newTreeSet()

newTreeSet

public static <E> TreeSet<E> newTreeSet(Collection<? extends E> c)

newTreeSet

public static <E> TreeSet<E> newTreeSet(Comparator<? super E> c)

newTreeSet

public static <E> TreeSet<E> newTreeSet(SortedSet<? extends E> s)

newVector

public static <E> Vector<E> newVector()

newVector

public static <E> Vector<E> newVector(Collection<? extends E> c)

newVector

public static <E> Vector<E> newVector(int initialCapacity)

newVector

public static <E> Vector<E> newVector(int initialCapacity,
                                      int capacityIncrement)

newWeakHashMap

public static <K,V> WeakHashMap<K,V> newWeakHashMap()

newWeakHashMap

public static <K,V> WeakHashMap<K,V> newWeakHashMap(int initialCapacity)

newWeakHashMap

public static <K,V> WeakHashMap<K,V> newWeakHashMap(int initialCapacity,
                                                    float loadFactor)

newWeakHashMap

public static <K,V> WeakHashMap<K,V> newWeakHashMap(Map<? extends K,? extends V> m)

putIfAbsent

public static <K,V> V putIfAbsent(ConcurrentMap<K,V> map,
                                  K key,
                                  V value)


Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.