public interface ICollectionUtil
Define common Collection operations
- 導入されたバージョン:
- 1.0.0
- バージョン:
- 1.0.0
- 作成者:
- yui-KITAMURA
- 
メソッドの概要修飾子とタイプメソッド説明booleanjudge array is empty (nullor length is Zero )booleanisEmpty(Collection<?> list) judge Collection is empty<T> ArrayList<T>toArrayList(T... aryObj) Convert array toArrayList<T> List<T>toList(T... aryObj) Convert array toListArray version oftoString(Collection)toString(Collection<?> collection) Format collection instance to following format.toStringBr(Object[] array) Array version oftoStringBr(Collection)toStringBr(Collection<?> collection) Format collection instance to following format.Array version oftoStrMeta(Collection)toStrMeta(Collection<?> collection) Format collection instance to following format.toStrMetaBr(Object[] array) Array version oftoStrMetaBr(Collection)toStrMetaBr(Collection<?> collection) Format collection instance to following format.
- 
メソッドの詳細- 
toListConvert array toList- 型パラメータ:
- T- Type of parameters
- パラメータ:
- aryObj- values array
- 戻り値:
- an Listthat contains all arguments
- 関連項目:
 
- 
toArrayListConvert array toArrayList- 型パラメータ:
- T- Type of parameters
- パラメータ:
- aryObj- values array
- 戻り値:
- an Listthat contains all arguments
- 関連項目:
 
- 
isEmptyjudge array is empty (nullor length is Zero )- パラメータ:
- array- target
- 戻り値:
- array is null or nothing in collection then true
 
- 
isEmptyjudge Collection is empty- パラメータ:
- list- target instance
- 戻り値:
- Collection is null or nothing in it then true
 
- 
toStringFormat collection instance to following format.[entity1.toString(), entity2.toString(), ...] For example, StringBuilder then like[sb1sb1sb1, sb2sb2sb2] If the entity are the Collection,then call this method for recursively- パラメータ:
- collection- a collection instance that format to string
- 戻り値:
- single line string value
 
- 
toStringArray version oftoString(Collection)- 関連項目:
 
- 
toStrMetaFormat collection instance to following format.{size: 2, data: [entity1.toString(), entity2.toString()]}- パラメータ:
- collection- a collection instance that format to string
- 戻り値:
- single line string value
 
- 
toStrMetaArray version oftoStrMeta(Collection)- 関連項目:
 
- 
toStringBrFormat collection instance to following format.[ entity1.toString(), entity2.toString(), ... ] For example, StringBuilder then like[ sb1sb1sb1, sb2sb2sb2 ] If the entity are the Collection,then call this method for recursively- パラメータ:
- collection- a collection instance that format to string
- 戻り値:
- multiple line string value
 
- 
toStringBrArray version oftoStringBr(Collection)- 関連項目:
 
- 
toStrMetaBrFormat collection instance to following format.{ size: 2, data: [ entity1.toString(), entity2.toString() ]}- パラメータ:
- collection- a collection instance that format to string
- 戻り値:
- multiple line string value
 
- 
toStrMetaBrArray version oftoStrMetaBr(Collection)- 関連項目:
 
 
-