org.omg.CosCollection

Interface CollectionOperations

Known Subinterfaces:
Bag, BagOperations, Collection, CSequence, CSequenceOperations, EqualityCollection, EqualityCollectionOperations, EqualityKeyCollection, EqualityKeyCollectionOperations, EqualityKeySortedCollection, EqualityKeySortedCollectionOperations, EqualitySequence, EqualitySequenceOperations, EqualitySequentialCollection, EqualitySequentialCollectionOperations, EqualitySortedCollection, EqualitySortedCollectionOperations, Heap, HeapOperations, KeyBag, KeyBagOperations, KeyCollection, KeyCollectionOperations, KeySet, KeySetOperations, KeySortedBag, KeySortedBagOperations, KeySortedCollection, KeySortedCollectionOperations, KeySortedSet, KeySortedSetOperations, Map, MapOperations, OrderedCollection, OrderedCollectionOperations, Relation, RelationOperations, SequentialCollection, SequentialCollectionOperations, Set, SetOperations, SortedBag, SortedBagOperations, SortedCollection, SortedCollectionOperations, SortedMap, SortedMapOperations, SortedRelation, SortedRelationOperations, SortedSet, SortedSetOperations
Known Implementing Classes:
BagPOA, BagPOATie, CollectionPOA, CollectionPOATie, CSequencePOA, CSequencePOATie, EqualityCollectionPOA, EqualityCollectionPOATie, EqualityKeyCollectionPOA, EqualityKeyCollectionPOATie, EqualityKeySortedCollectionPOA, EqualityKeySortedCollectionPOATie, EqualitySequencePOA, EqualitySequencePOATie, EqualitySequentialCollectionPOA, EqualitySequentialCollectionPOATie, EqualitySortedCollectionPOA, EqualitySortedCollectionPOATie, HeapPOA, HeapPOATie, KeyBagPOA, KeyBagPOATie, KeyCollectionPOA, KeyCollectionPOATie, KeySetPOA, KeySetPOATie, KeySortedBagPOA, KeySortedBagPOATie, KeySortedCollectionPOA, KeySortedCollectionPOATie, KeySortedSetPOA, KeySortedSetPOATie, MapPOA, MapPOATie, OrderedCollectionPOA, OrderedCollectionPOATie, RelationPOA, RelationPOATie, SequentialCollectionPOA, SequentialCollectionPOATie, SetPOA, SetPOATie, SortedBagPOA, SortedBagPOATie, SortedCollectionPOA, SortedCollectionPOATie, SortedMapPOA, SortedMapPOATie, SortedRelationPOA, SortedRelationPOATie, SortedSetPOA, SortedSetPOATie, _BagStub, _CollectionStub, _CSequenceStub, _EqualityCollectionStub, _EqualityKeyCollectionStub, _EqualityKeySortedCollectionStub, _EqualitySequenceStub, _EqualitySequentialCollectionStub, _EqualitySortedCollectionStub, _HeapStub, _KeyBagStub, _KeyCollectionStub, _KeySetStub, _KeySortedBagStub, _KeySortedCollectionStub, _KeySortedSetStub, _MapStub, _OrderedCollectionStub, _RelationStub, _SequentialCollectionStub, _SetStub, _SortedBagStub, _SortedCollectionStub, _SortedMapStub, _SortedRelationStub, _SortedSetStub

public interface CollectionOperations

Generated from IDL interface "Collection"

Author:
JacORB IDL compiler V 2.2, 7-May-2004

Method Summary

void
add_all_from(Collection collector)
boolean
add_element(Any element)
boolean
add_element_set_iterator(Any element, Iterator where)
boolean
all_elements_do(Command what)
Iterator
create_iterator(boolean read_only)
void
destroy()
TypeCode
element_type()
boolean
is_empty()
int
number_of_elements()
int
remove_all()
void
remove_element_at(Iterator where)
void
replace_element_at(Iterator where, Any element)
boolean
retrieve_element_at(Iterator where, AnyHolder element)

Method Details

add_all_from

public void add_all_from(Collection collector)
            throws ElementInvalid


add_element

public boolean add_element(Any element)
            throws ElementInvalid


add_element_set_iterator

public boolean add_element_set_iterator(Any element,
                                        Iterator where)
            throws ElementInvalid,
                   IteratorInvalid


all_elements_do

public boolean all_elements_do(Command what)


create_iterator

public Iterator create_iterator(boolean read_only)


destroy

public void destroy()


element_type

public TypeCode element_type()


is_empty

public boolean is_empty()


number_of_elements

public int number_of_elements()


remove_all

public int remove_all()


remove_element_at

public void remove_element_at(Iterator where)
            throws IteratorInBetween,
                   IteratorInvalid


replace_element_at

public void replace_element_at(Iterator where,
                               Any element)
            throws ElementInvalid,
                   IteratorInBetween,
                   IteratorInvalid


retrieve_element_at

public boolean retrieve_element_at(Iterator where,
                                   AnyHolder element)
            throws IteratorInBetween,
                   IteratorInvalid