Interface IItemCollection<T>
- All Superinterfaces:
Iterable<T>
- All Known Subinterfaces:
IDropDownItemList,IItemList<T>,IListBoxItemCollection,IListBoxItemList
保存构成
ISelector内容的项目集合。-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getCount
int getCount()获取集合中的记录数。 -
add
向集合中添加一个项。- Parameters:
newItem- 要添加到集合中的项。
-
clear
void clear()清除集合并释放集合中所有当前项的引用。 -
contains
返回一个值,表示指定的项是否在此视图中。- Parameters:
containItem- 要检查的对象。- Returns:
true表示该项属于此集合并通过了活动筛选器;否则返回false。
-
remove
从集合或视图中移除指定的项引用。- Parameters:
removeItem- 要移除的对象。- Returns:
- 如果成功移除项,则返回
true;否则返回false。
-