public static IDfList dfList(Collection coll, int type)
{
try
{
IDfList list = getClientX().getList();
list.setElementType(type);
for (Iterator iter = coll.iterator(); iter.hasNext();)
{
list.append(iter.next());
}
return list;
}
catch (DfException e)
{
throw new RuntimeException(e);
}
}