org.omg.CosCollection
Interface OrderedCollectionOperations

All Superinterfaces:
CollectionOperations
All Known Subinterfaces:
CSequence, CSequenceOperations, EqualityKeySortedCollection, EqualityKeySortedCollectionOperations, EqualitySequence, EqualitySequenceOperations, EqualitySequentialCollection, EqualitySequentialCollectionOperations, EqualitySortedCollection, EqualitySortedCollectionOperations, KeySortedBag, KeySortedBagOperations, KeySortedCollection, KeySortedCollectionOperations, KeySortedSet, KeySortedSetOperations, OrderedCollection, SequentialCollection, SequentialCollectionOperations, SortedBag, SortedBagOperations, SortedCollection, SortedCollectionOperations, SortedMap, SortedMapOperations, SortedRelation, SortedRelationOperations, SortedSet, SortedSetOperations
All Known Implementing Classes:
_CSequenceStub, _EqualityKeySortedCollectionStub, _EqualitySequenceStub, _EqualitySequentialCollectionStub, _EqualitySortedCollectionStub, _KeySortedBagStub, _KeySortedCollectionStub, _KeySortedSetStub, _OrderedCollectionStub, _SequentialCollectionStub, _SortedBagStub, _SortedCollectionStub, _SortedMapStub, _SortedRelationStub, _SortedSetStub, CSequencePOA, EqualityKeySortedCollectionPOA, EqualitySequencePOA, EqualitySequentialCollectionPOA, EqualitySortedCollectionPOA, KeySortedBagPOA, KeySortedCollectionPOA, KeySortedSetPOA, OrderedCollectionPOA, SequentialCollectionPOA, SortedBagPOA, SortedCollectionPOA, SortedMapPOA, SortedRelationPOA, SortedSetPOA

public interface OrderedCollectionOperations
extends CollectionOperations

Generated from IDL interface "OrderedCollection"

Author:
JacORB IDL compiler V 2.2.3, 10-Dec-2005

Method Summary
 OrderedIterator create_ordered_iterator(boolean read_only, boolean reverse_iteration)
           
 void remove_element_at_position(int position)
           
 void remove_first_element()
           
 void remove_last_element()
           
 boolean retrieve_element_at_position(int position, AnyHolder element)
           
 boolean retrieve_first_element(AnyHolder element)
           
 boolean retrieve_last_element(AnyHolder element)
           
 
Methods inherited from interface org.omg.CosCollection.CollectionOperations
add_all_from, add_element_set_iterator, add_element, all_elements_do, create_iterator, destroy, element_type, is_empty, number_of_elements, remove_all, remove_element_at, replace_element_at, retrieve_element_at
 

Method Detail

remove_element_at_position

public void remove_element_at_position(int position)
                                throws PositionInvalid
Throws:
PositionInvalid

remove_first_element

public void remove_first_element()
                          throws EmptyCollection
Throws:
EmptyCollection

remove_last_element

public void remove_last_element()
                         throws EmptyCollection
Throws:
EmptyCollection

retrieve_element_at_position

public boolean retrieve_element_at_position(int position,
                                            AnyHolder element)
                                     throws PositionInvalid
Throws:
PositionInvalid

retrieve_first_element

public boolean retrieve_first_element(AnyHolder element)
                               throws EmptyCollection
Throws:
EmptyCollection

retrieve_last_element

public boolean retrieve_last_element(AnyHolder element)
                              throws EmptyCollection
Throws:
EmptyCollection

create_ordered_iterator

public OrderedIterator create_ordered_iterator(boolean read_only,
                                               boolean reverse_iteration)