ALBPM Process API

fuego.papi.collections
Interface ElementIdSet<T>

All Superinterfaces:
Iterable<T>, Serializable
All Known Implementing Classes:
InstanceActivityPairSet, ProcessIdSet

public interface ElementIdSet<T>
extends Iterable<T>, Serializable


Field Summary
static String SEPARATOR
           
 
Method Summary
 ElementIdSet<T> add(T elementIdItem)
          Adds the specified element to the set if not present.
 ElementIdSet<T> addAll(ElementIdSet<T> elementIdSet)
          Add all ids to the Set.
 ElementIdSet<T> addAll(T... elementIdItems)
          Adds the specified element to the set if not present.
 boolean contains(T elementIdItem)
          Returns true if this set contains the specified identification.
 boolean isEmpty()
           
 int size()
           
 T[] toArray()
          Returns an array containing the elements of the set.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Field Detail

SEPARATOR

static final String SEPARATOR
See Also:
Constant Field Values
Method Detail

add

ElementIdSet<T> add(T elementIdItem)
Adds the specified element to the set if not present.

Parameters:
elementIdItem - Identification to add.

addAll

ElementIdSet<T> addAll(T... elementIdItems)
Adds the specified element to the set if not present.

Parameters:
elementIdItems - Item to add.

addAll

ElementIdSet<T> addAll(ElementIdSet<T> elementIdSet)
Add all ids to the Set.

Parameters:
elementIdSet - Identification Set to add.

toArray

T[] toArray()
Returns an array containing the elements of the set.


contains

boolean contains(T elementIdItem)
Returns true if this set contains the specified identification.

Parameters:
elementIdItem - Identification whose presence in this set is to be tested.
Returns:
true if this set contains the specified identification.

size

int size()

isEmpty

boolean isEmpty()

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved