org.seasar.aptina.commons.util
クラス CollectionUtils

java.lang.Object
  上位を拡張 org.seasar.aptina.commons.util.CollectionUtils

public class CollectionUtils
extends Object

コレクションを扱うユーティリティです.

作成者:
koichik

メソッドの概要
static
<T> List<T>
newArrayList()
          ArrayList のインスタンスを生成して返します.
static
<K,V> Map<K,V>
newHashMap()
          HashMap のインスタンスを生成して返します.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

newArrayList

public static <T> List<T> newArrayList()
ArrayList のインスタンスを生成して返します.

型パラメータ:
T - 要素の型
戻り値:
ArrayList のインスタンス

newHashMap

public static <K,V> Map<K,V> newHashMap()
HashMap のインスタンスを生成して返します.

型パラメータ:
K - キーの型
V - 値の型
戻り値:
HashMap のインスタンス


Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.