TIBCO BusinessEvents® 6.3.2

Description

Collections functions

Categories

NameDescription
ComparatorComparator functions
IteratorUtility Functions for Java.util.Iterator
ListUtility Functions for java.util.List
MapMap functions
SetUtility functions Java.util.Set
SortedMapSortedMap functions
SortedSetSortedSet functions

Functions

NameSignature and Synopsis
addvoid add ( Object collection, Object element)
Inserts the specified element at the specified position in this collection.
addAllboolean addAll ( Object collection, Object collection2 )
Inserts all of the elements in the specified collection into this collection at the specified position.
clearvoid clear ( Object collection )
Removes all of the elements from this collection.
containsboolean contains ( Object collection, Object element )
Returns true if this collection contains the specified element.
containsAllboolean containsAll ( Object collection, Object collection2 )
Returns true if this collection contains all of the elements of the specified collection.
iteratorObject iterator ( Object collection )
Returns an iterator over the elements in this collection in proper sequence.
removeboolean remove ( Object collection, Object element )
Removes the first occurrence of the specified element from this collection, if it is present.
removeAllboolean removeAll ( Object collection, Object collection2 )
Removes from this collection all of its elements that are contained in the specified collection.
retainAllboolean retainAll ( Object collection, Object collection2 )
Retains only the elements in this collection that are contained in the specified collection.
sizeint size ( Object collection )
Returns the number of elements in this collection.
toArrayObject[] toArray ( Object collection, Object ... a )