org.omg.CosCollection

Interface KeyCollectionOperations

All Superinterfaces:
CollectionOperations
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
Known Implementing Classes:
EqualityKeyCollectionPOA, EqualityKeyCollectionPOATie, EqualityKeySortedCollectionPOA, EqualityKeySortedCollectionPOATie, KeyBagPOA, KeyBagPOATie, KeyCollectionPOA, KeyCollectionPOATie, KeySetPOA, KeySetPOATie, KeySortedBagPOA, KeySortedBagPOATie, KeySortedCollectionPOA, KeySortedCollectionPOATie, KeySortedSetPOA, KeySortedSetPOATie, MapPOA, MapPOATie, RelationPOA, RelationPOATie, SortedMapPOA, SortedMapPOATie, SortedRelationPOA, SortedRelationPOATie, _EqualityKeyCollectionStub, _EqualityKeySortedCollectionStub, _KeyBagStub, _KeyCollectionStub, _KeySetStub, _KeySortedBagStub, _KeySortedCollectionStub, _KeySortedSetStub, _MapStub, _RelationStub, _SortedMapStub, _SortedRelationStub

public interface KeyCollectionOperations
extends CollectionOperations

Generated from IDL interface "KeyCollection"

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

Method Summary

boolean
add_or_replace_element_with_key(Any element)
boolean
add_or_replace_element_with_key_set_iterator(Any element, Iterator where)
boolean
contains_all_keys_from(KeyCollection collector)
boolean
contains_element_with_key(Any key)
void
key(Any element, AnyHolder key)
TypeCode
key_type()
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(Any element)
boolean
locate_or_add_element_with_key_set_iterator(Any element, Iterator where)
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(Any element)
boolean
replace_element_with_key_set_iterator(Any element, Iterator where)
boolean
retrieve_element_with_key(Any key, AnyHolder element)

Methods inherited from interface org.omg.CosCollection.CollectionOperations

add_all_from, add_element, add_element_set_iterator, 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 Details

add_or_replace_element_with_key

public boolean add_or_replace_element_with_key(Any element)
            throws ElementInvalid


add_or_replace_element_with_key_set_iterator

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


contains_all_keys_from

public boolean contains_all_keys_from(KeyCollection collector)
            throws KeyInvalid


contains_element_with_key

public boolean contains_element_with_key(Any key)
            throws KeyInvalid


key

public void key(Any element,
                AnyHolder key)
            throws ElementInvalid


key_type

public TypeCode key_type()


keys

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


locate_element_with_key

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


locate_next_element_with_different_key

public boolean locate_next_element_with_different_key(Iterator where)
            throws IteratorInBetween,
                   IteratorInvalid


locate_next_element_with_key

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


locate_or_add_element_with_key

public boolean locate_or_add_element_with_key(Any element)
            throws ElementInvalid


locate_or_add_element_with_key_set_iterator

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


number_of_different_keys

public int number_of_different_keys()


number_of_elements_with_key

public int number_of_elements_with_key(Any key)
            throws KeyInvalid


remove_all_elements_with_key

public int remove_all_elements_with_key(Any key)
            throws KeyInvalid


remove_element_with_key

public boolean remove_element_with_key(Any key)
            throws KeyInvalid


replace_element_with_key

public boolean replace_element_with_key(Any element)
            throws ElementInvalid


replace_element_with_key_set_iterator

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


retrieve_element_with_key

public boolean retrieve_element_with_key(Any key,
                                         AnyHolder element)
            throws KeyInvalid