public interface IItemCollection<T>
extends java.lang.Iterable<T>
ISelector.| Modifier and Type | Method and Description |
|---|---|
void |
add(T newItem)
Adds an item to the collection.
|
void |
clear()
Clears the collection and releases the references on all items currently in the collection.
|
boolean |
contains(T containItem)
Returns a value that indicates whether the specified item is in this view.
|
int |
getCount()
Gets the number of records in the collection.
|
boolean |
remove(T removeItem)
Removes the specified item reference from the collection or view.
|
int getCount()
void add(T newItem)
newItem - The item to add to the collection.void clear()
boolean contains(T containItem)
containItem - The object to check.true to indicate that the item belongs to this collection and passes the active filter; otherwise, false.boolean remove(T removeItem)
removeItem - The object to remove.true if item is successfully removed; otherwise, false.