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, EqualityKeySortedCollectionPOA, KeyBagPOA, KeyCollectionPOA, KeySetPOA, KeySortedBagPOA, KeySortedCollectionPOA, KeySortedSetPOA, MapPOA, RelationPOA, SortedMapPOA, SortedRelationPOA
- public interface KeyCollectionOperations
- extends CollectionOperations
Generated from IDL interface "KeyCollection"
- Author:
- JacORB IDL compiler V 2.2.3, 10-Dec-2005
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 |
key_type
public TypeCode key_type()
contains_element_with_key
public boolean contains_element_with_key(Any key)
throws KeyInvalid
- Throws:
KeyInvalid
contains_all_keys_from
public boolean contains_all_keys_from(KeyCollection collector)
throws KeyInvalid
- Throws:
KeyInvalid
locate_or_add_element_with_key
public boolean locate_or_add_element_with_key(Any element)
throws ElementInvalid
- 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
- Throws:
ElementInvalid
IteratorInvalid
add_or_replace_element_with_key
public boolean add_or_replace_element_with_key(Any element)
throws ElementInvalid
- 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
- Throws:
ElementInvalid
IteratorInvalid
remove_element_with_key
public boolean remove_element_with_key(Any key)
throws KeyInvalid
- Throws:
KeyInvalid
remove_all_elements_with_key
public int remove_all_elements_with_key(Any key)
throws KeyInvalid
- Throws:
KeyInvalid
replace_element_with_key
public boolean replace_element_with_key(Any element)
throws ElementInvalid
- Throws:
ElementInvalid
replace_element_with_key_set_iterator
public boolean replace_element_with_key_set_iterator(Any element,
Iterator where)
throws ElementInvalid,
IteratorInvalid
- Throws:
ElementInvalid
IteratorInvalid
retrieve_element_with_key
public boolean retrieve_element_with_key(Any key,
AnyHolder element)
throws KeyInvalid
- Throws:
KeyInvalid
key
public void key(Any element,
AnyHolder key)
throws ElementInvalid
- Throws:
ElementInvalid
keys
public void keys(Any[] elements,
AnySequenceHolder keys)
throws ElementInvalid
- Throws:
ElementInvalid
locate_element_with_key
public boolean locate_element_with_key(Any key,
Iterator where)
throws KeyInvalid,
IteratorInvalid
- Throws:
KeyInvalid
IteratorInvalid
locate_next_element_with_key
public boolean locate_next_element_with_key(Any key,
Iterator where)
throws KeyInvalid,
IteratorInvalid
- Throws:
KeyInvalid
IteratorInvalid
locate_next_element_with_different_key
public boolean locate_next_element_with_different_key(Iterator where)
throws IteratorInvalid,
IteratorInBetween
- Throws:
IteratorInvalid
IteratorInBetween
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
- Throws:
KeyInvalid