org.omg.CosCollection
Interface CollectionOperations

All 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
All Known Implementing Classes:
_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, 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

public interface CollectionOperations

Generated from IDL interface "Collection"

Author:
JacORB IDL compiler V 2.2 (JBoss patch 3), 06-Oct-2004

Method Summary
 void add_all_from(Collection collector)
           
 boolean add_element_set_iterator(Any element, Iterator where)
           
 boolean add_element(Any element)
           
 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 Detail

element_type

TypeCode element_type()

add_element

boolean add_element(Any element)
                    throws ElementInvalid
Throws:
ElementInvalid

add_element_set_iterator

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

add_all_from

void add_all_from(Collection collector)
                  throws ElementInvalid
Throws:
ElementInvalid

remove_element_at

void remove_element_at(Iterator where)
                       throws IteratorInvalid,
                              IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

remove_all

int remove_all()

replace_element_at

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

retrieve_element_at

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

all_elements_do

boolean all_elements_do(Command what)

number_of_elements

int number_of_elements()

is_empty

boolean is_empty()

destroy

void destroy()

create_iterator

Iterator create_iterator(boolean read_only)