org.omg.CosCollection

Class _KeySortedSetStub

Implemented Interfaces:
Collection, CollectionOperations, IDLEntity, KeyCollection, KeyCollectionOperations, KeySortedCollection, KeySortedCollectionOperations, KeySortedSet, KeySortedSetOperations, Object, OrderedCollection, OrderedCollectionOperations, java.io.Serializable, SortedCollection, SortedCollectionOperations

public class _KeySortedSetStub
extends ObjectImpl
implements KeySortedSet

Generated from IDL interface "KeySortedSet"

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

Field Summary

static java.lang.Class
_opsClass

Method Summary

String[]
_ids()
void
add_all_from(Collection collector)
boolean
add_element(Any element)
boolean
add_element_set_iterator(Any element, Iterator where)
boolean
add_or_replace_element_with_key(Any element)
boolean
add_or_replace_element_with_key_set_iterator(Any element, Iterator where)
boolean
all_elements_do(Command what)
int
compare(KeySortedSet collector, Comparator comparison)
boolean
contains_all_keys_from(KeyCollection collector)
boolean
contains_element_with_key(Any key)
Iterator
create_iterator(boolean read_only)
OrderedIterator
create_ordered_iterator(boolean read_only, boolean reverse_iteration)
void
destroy()
TypeCode
element_type()
boolean
is_empty()
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_first_element_with_key(Any key, Iterator where)
boolean
locate_last_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)
boolean
locate_previous_element_with_different_key(Iterator where)
boolean
locate_previous_element_with_key(Any key, Iterator where)
int
number_of_different_keys()
int
number_of_elements()
int
number_of_elements_with_key(Any key)
int
remove_all()
int
remove_all_elements_with_key(Any key)
void
remove_element_at(Iterator where)
void
remove_element_at_position(int position)
boolean
remove_element_with_key(Any key)
void
remove_first_element()
void
remove_last_element()
void
replace_element_at(Iterator where, Any element)
boolean
replace_element_with_key(Any element)
boolean
replace_element_with_key_set_iterator(Any element, Iterator where)
boolean
retrieve_element_at(Iterator where, AnyHolder element)
boolean
retrieve_element_at_position(int position, AnyHolder element)
boolean
retrieve_element_with_key(Any key, AnyHolder element)
boolean
retrieve_first_element(AnyHolder element)
boolean
retrieve_last_element(AnyHolder element)

Methods inherited from class org.omg.CORBA.portable.ObjectImpl

_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString

Field Details

_opsClass

public static final java.lang.Class _opsClass

Method Details

_ids

public String[] _ids()
Overrides:
_ids in interface ObjectImpl


add_all_from

public void add_all_from(Collection collector)
            throws ElementInvalid
Specified by:
add_all_from in interface CollectionOperations


add_element

public boolean add_element(Any element)
            throws ElementInvalid
Specified by:
add_element in interface CollectionOperations


add_element_set_iterator

public boolean add_element_set_iterator(Any element,
                                        Iterator where)
            throws ElementInvalid,
                   IteratorInvalid
Specified by:
add_element_set_iterator in interface CollectionOperations


add_or_replace_element_with_key

public boolean add_or_replace_element_with_key(Any element)
            throws ElementInvalid
Specified by:
add_or_replace_element_with_key in interface KeyCollectionOperations


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
Specified by:
add_or_replace_element_with_key_set_iterator in interface KeyCollectionOperations


all_elements_do

public boolean all_elements_do(Command what)
Specified by:
all_elements_do in interface CollectionOperations


compare

public int compare(KeySortedSet collector,
                   Comparator comparison)
Specified by:
compare in interface KeySortedSetOperations


contains_all_keys_from

public boolean contains_all_keys_from(KeyCollection collector)
            throws KeyInvalid
Specified by:
contains_all_keys_from in interface KeyCollectionOperations


contains_element_with_key

public boolean contains_element_with_key(Any key)
            throws KeyInvalid
Specified by:
contains_element_with_key in interface KeyCollectionOperations


create_iterator

public Iterator create_iterator(boolean read_only)
Specified by:
create_iterator in interface CollectionOperations


create_ordered_iterator

public OrderedIterator create_ordered_iterator(boolean read_only,
                                               boolean reverse_iteration)
Specified by:
create_ordered_iterator in interface OrderedCollectionOperations


destroy

public void destroy()
Specified by:
destroy in interface CollectionOperations


element_type

public TypeCode element_type()
Specified by:
element_type in interface CollectionOperations


is_empty

public boolean is_empty()
Specified by:
is_empty in interface CollectionOperations


key

public void key(Any element,
                AnyHolder key)
            throws ElementInvalid
Specified by:
key in interface KeyCollectionOperations


key_type

public TypeCode key_type()
Specified by:
key_type in interface KeyCollectionOperations


keys

public void keys(Any[] elements,
                 AnySequenceHolder keys)
            throws ElementInvalid
Specified by:
keys in interface KeyCollectionOperations


locate_element_with_key

public boolean locate_element_with_key(Any key,
                                       Iterator where)
            throws KeyInvalid,
                   IteratorInvalid
Specified by:
locate_element_with_key in interface KeyCollectionOperations


locate_first_element_with_key

public boolean locate_first_element_with_key(Any key,
                                             Iterator where)
            throws KeyInvalid,
                   IteratorInvalid
Specified by:
locate_first_element_with_key in interface KeySortedCollectionOperations


locate_last_element_with_key

public boolean locate_last_element_with_key(Any key,
                                            Iterator where)
            throws KeyInvalid,
                   IteratorInvalid
Specified by:
locate_last_element_with_key in interface KeySortedCollectionOperations


locate_next_element_with_different_key

public boolean locate_next_element_with_different_key(Iterator where)
            throws IteratorInBetween,
                   IteratorInvalid
Specified by:
locate_next_element_with_different_key in interface KeyCollectionOperations


locate_next_element_with_key

public boolean locate_next_element_with_key(Any key,
                                            Iterator where)
            throws KeyInvalid,
                   IteratorInvalid
Specified by:
locate_next_element_with_key in interface KeyCollectionOperations


locate_or_add_element_with_key

public boolean locate_or_add_element_with_key(Any element)
            throws ElementInvalid
Specified by:
locate_or_add_element_with_key in interface KeyCollectionOperations


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
Specified by:
locate_or_add_element_with_key_set_iterator in interface KeyCollectionOperations


locate_previous_element_with_different_key

public boolean locate_previous_element_with_different_key(Iterator where)
            throws IteratorInBetween,
                   IteratorInvalid
Specified by:
locate_previous_element_with_different_key in interface KeySortedCollectionOperations


locate_previous_element_with_key

public boolean locate_previous_element_with_key(Any key,
                                                Iterator where)
            throws KeyInvalid,
                   IteratorInvalid
Specified by:
locate_previous_element_with_key in interface KeySortedCollectionOperations


number_of_different_keys

public int number_of_different_keys()
Specified by:
number_of_different_keys in interface KeyCollectionOperations


number_of_elements

public int number_of_elements()
Specified by:
number_of_elements in interface CollectionOperations


number_of_elements_with_key

public int number_of_elements_with_key(Any key)
            throws KeyInvalid
Specified by:
number_of_elements_with_key in interface KeyCollectionOperations


remove_all

public int remove_all()
Specified by:
remove_all in interface CollectionOperations


remove_all_elements_with_key

public int remove_all_elements_with_key(Any key)
            throws KeyInvalid
Specified by:
remove_all_elements_with_key in interface KeyCollectionOperations


remove_element_at

public void remove_element_at(Iterator where)
            throws IteratorInBetween,
                   IteratorInvalid
Specified by:
remove_element_at in interface CollectionOperations


remove_element_at_position

public void remove_element_at_position(int position)
            throws PositionInvalid
Specified by:
remove_element_at_position in interface OrderedCollectionOperations


remove_element_with_key

public boolean remove_element_with_key(Any key)
            throws KeyInvalid
Specified by:
remove_element_with_key in interface KeyCollectionOperations


remove_first_element

public void remove_first_element()
            throws EmptyCollection
Specified by:
remove_first_element in interface OrderedCollectionOperations


remove_last_element

public void remove_last_element()
            throws EmptyCollection
Specified by:
remove_last_element in interface OrderedCollectionOperations


replace_element_at

public void replace_element_at(Iterator where,
                               Any element)
            throws ElementInvalid,
                   IteratorInBetween,
                   IteratorInvalid
Specified by:
replace_element_at in interface CollectionOperations


replace_element_with_key

public boolean replace_element_with_key(Any element)
            throws ElementInvalid
Specified by:
replace_element_with_key in interface KeyCollectionOperations


replace_element_with_key_set_iterator

public boolean replace_element_with_key_set_iterator(Any element,
                                                     Iterator where)
            throws ElementInvalid,
                   IteratorInvalid
Specified by:
replace_element_with_key_set_iterator in interface KeyCollectionOperations


retrieve_element_at

public boolean retrieve_element_at(Iterator where,
                                   AnyHolder element)
            throws IteratorInBetween,
                   IteratorInvalid
Specified by:
retrieve_element_at in interface CollectionOperations


retrieve_element_at_position

public boolean retrieve_element_at_position(int position,
                                            AnyHolder element)
            throws PositionInvalid
Specified by:
retrieve_element_at_position in interface OrderedCollectionOperations


retrieve_element_with_key

public boolean retrieve_element_with_key(Any key,
                                         AnyHolder element)
            throws KeyInvalid
Specified by:
retrieve_element_with_key in interface KeyCollectionOperations


retrieve_first_element

public boolean retrieve_first_element(AnyHolder element)
            throws EmptyCollection
Specified by:
retrieve_first_element in interface OrderedCollectionOperations


retrieve_last_element

public boolean retrieve_last_element(AnyHolder element)
            throws EmptyCollection
Specified by:
retrieve_last_element in interface OrderedCollectionOperations