org.omg.CosCollection
Interface KeyCollectionOperations

All Superinterfaces:
CollectionOperations
All Known Subinterfaces:
EqualityKeyCollection, EqualityKeyCollectionOperations, EqualityKeySortedCollection, EqualityKeySortedCollectionOperations, KeyBag, KeyBagOperations, KeyCollection, KeySet, KeySetOperations, KeySortedBag, KeySortedBagOperations, KeySortedCollection, KeySortedCollectionOperations, KeySortedSet, KeySortedSetOperations, Map, MapOperations, Relation, RelationOperations, SortedMap, SortedMapOperations, SortedRelation, SortedRelationOperations
All Known Implementing Classes:
_EqualityKeyCollectionStub, _EqualityKeySortedCollectionStub, _KeyBagStub, _KeyCollectionStub, _KeySetStub, _KeySortedBagStub, _KeySortedCollectionStub, _KeySortedSetStub, _MapStub, _RelationStub, _SortedMapStub, _SortedRelationStub, EqualityKeyCollectionPOA, EqualityKeyCollectionPOATie, EqualityKeySortedCollectionPOA, EqualityKeySortedCollectionPOATie, KeyBagPOA, KeyBagPOATie, KeyCollectionPOA, KeyCollectionPOATie, KeySetPOA, KeySetPOATie, KeySortedBagPOA, KeySortedBagPOATie, KeySortedCollectionPOA, KeySortedCollectionPOATie, KeySortedSetPOA, KeySortedSetPOATie, MapPOA, MapPOATie, RelationPOA, RelationPOATie, SortedMapPOA, SortedMapPOATie, SortedRelationPOA, SortedRelationPOATie

public interface KeyCollectionOperations
extends CollectionOperations

Generated from IDL interface "KeyCollection".

Version:
generated at Jan 1, 2011 11:43:00 PM
Author:
JacORB IDL compiler V 2.3.0 (JBoss patch 6), 06-Jun-2007

Method Summary
 boolean add_or_replace_element_with_key_set_iterator(Any element, Iterator where)
           
 boolean add_or_replace_element_with_key(Any element)
           
 boolean contains_all_keys_from(KeyCollection collector)
           
 boolean contains_element_with_key(Any key)
           
 TypeCode key_type()
           
 void key(Any element, AnyHolder key)
           
 void keys(Any[] elements, AnySequenceHolder keys)
           
 boolean locate_element_with_key(Any key, Iterator where)
           
 boolean locate_next_element_with_different_key(Iterator where)
           
 boolean locate_next_element_with_key(Any key, Iterator where)
           
 boolean locate_or_add_element_with_key_set_iterator(Any element, Iterator where)
           
 boolean locate_or_add_element_with_key(Any element)
           
 int number_of_different_keys()
           
 int number_of_elements_with_key(Any key)
           
 int remove_all_elements_with_key(Any key)
           
 boolean remove_element_with_key(Any key)
           
 boolean replace_element_with_key_set_iterator(Any element, Iterator where)
           
 boolean replace_element_with_key(Any element)
           
 boolean retrieve_element_with_key(Any key, 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

key_type

TypeCode key_type()

contains_element_with_key

boolean contains_element_with_key(Any key)
                                  throws KeyInvalid
Throws:
KeyInvalid

contains_all_keys_from

boolean contains_all_keys_from(KeyCollection collector)
                               throws KeyInvalid
Throws:
KeyInvalid

locate_or_add_element_with_key

boolean locate_or_add_element_with_key(Any element)
                                       throws ElementInvalid
Throws:
ElementInvalid

locate_or_add_element_with_key_set_iterator

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

add_or_replace_element_with_key

boolean add_or_replace_element_with_key(Any element)
                                        throws ElementInvalid
Throws:
ElementInvalid

add_or_replace_element_with_key_set_iterator

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

remove_element_with_key

boolean remove_element_with_key(Any key)
                                throws KeyInvalid
Throws:
KeyInvalid

remove_all_elements_with_key

int remove_all_elements_with_key(Any key)
                                 throws KeyInvalid
Throws:
KeyInvalid

replace_element_with_key

boolean replace_element_with_key(Any element)
                                 throws ElementInvalid
Throws:
ElementInvalid

replace_element_with_key_set_iterator

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

retrieve_element_with_key

boolean retrieve_element_with_key(Any key,
                                  AnyHolder element)
                                  throws KeyInvalid
Throws:
KeyInvalid

key

void key(Any element,
         AnyHolder key)
         throws ElementInvalid
Throws:
ElementInvalid

keys

void keys(Any[] elements,
          AnySequenceHolder keys)
          throws ElementInvalid
Throws:
ElementInvalid

locate_element_with_key

boolean locate_element_with_key(Any key,
                                Iterator where)
                                throws KeyInvalid,
                                       IteratorInvalid
Throws:
KeyInvalid
IteratorInvalid

locate_next_element_with_key

boolean locate_next_element_with_key(Any key,
                                     Iterator where)
                                     throws KeyInvalid,
                                            IteratorInvalid
Throws:
KeyInvalid
IteratorInvalid

locate_next_element_with_different_key

boolean locate_next_element_with_different_key(Iterator where)
                                               throws IteratorInvalid,
                                                      IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

number_of_different_keys

int number_of_different_keys()

number_of_elements_with_key

int number_of_elements_with_key(Any key)
                                throws KeyInvalid
Throws:
KeyInvalid