org.omg.CosCollection

Class SortedSetPOATie

Implemented Interfaces:
CollectionOperations, EqualityCollectionOperations, EqualitySortedCollectionOperations, InvokeHandler, OrderedCollectionOperations, SortedCollectionOperations, SortedSetOperations

public class SortedSetPOATie
extends SortedSetPOA

Generated from IDL interface "SortedSet"

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

Constructor Summary

SortedSetPOATie(SortedSetOperations delegate)
SortedSetPOATie(SortedSetOperations delegate, POA poa)

Method Summary

POA
_default_POA()
SortedSetOperations
_delegate()
void
_delegate(SortedSetOperations delegate)
SortedSet
_this()
SortedSet
_this(ORB orb)
void
add_all_from(Collection collector)
boolean
add_element(Any element)
boolean
add_element_set_iterator(Any element, Iterator where)
boolean
all_elements_do(Command what)
int
compare(SortedSet collector, Comparator comparison)
boolean
contains_all_from(Collection collector)
boolean
contains_element(Any element)
Iterator
create_iterator(boolean read_only)
OrderedIterator
create_ordered_iterator(boolean read_only, boolean reverse_iteration)
void
destroy()
TypeCode
element_type()
boolean
is_empty()
boolean
locate_element(Any element, Iterator where)
boolean
locate_first_element(Any element, Iterator where)
boolean
locate_last_element(Any element, Iterator where)
boolean
locate_next_different_element(Iterator where)
boolean
locate_next_element(Any element, Iterator where)
boolean
locate_or_add_element(Any element)
boolean
locate_or_add_element_set_iterator(Any element, Iterator where)
boolean
locate_previous_different_element(Iterator where)
boolean
locate_previous_element(Any element, Iterator where)
int
number_of_different_elements()
int
number_of_elements()
int
number_of_occurrences(Any element)
int
remove_all()
int
remove_all_occurrences(Any element)
boolean
remove_element(Any element)
void
remove_element_at(Iterator where)
void
remove_element_at_position(int position)
void
remove_first_element()
void
remove_last_element()
void
replace_element_at(Iterator where, Any element)
boolean
retrieve_element_at(Iterator where, AnyHolder 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 class org.omg.CosCollection.SortedSetPOA

_all_interfaces, _invoke, _this, _this

Methods inherited from class org.omg.PortableServer.Servant

_all_interfaces, _default_POA, _get_delegate, _get_interface, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object

Constructor Details

SortedSetPOATie

public SortedSetPOATie(SortedSetOperations delegate)


SortedSetPOATie

public SortedSetPOATie(SortedSetOperations delegate,
                       POA poa)

Method Details

_default_POA

public POA _default_POA()
Overrides:
_default_POA in interface Servant


_delegate

public SortedSetOperations _delegate()


_delegate

public void _delegate(SortedSetOperations delegate)


_this

public SortedSet _this()
Overrides:
_this in interface SortedSetPOA


_this

public SortedSet _this(ORB orb)
Overrides:
_this in interface SortedSetPOA


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


all_elements_do

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


compare

public int compare(SortedSet collector,
                   Comparator comparison)
Specified by:
compare in interface SortedSetOperations


contains_all_from

public boolean contains_all_from(Collection collector)
            throws ElementInvalid
Specified by:
contains_all_from in interface EqualityCollectionOperations


contains_element

public boolean contains_element(Any element)
            throws ElementInvalid
Specified by:
contains_element in interface EqualityCollectionOperations


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


locate_element

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


locate_first_element

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


locate_last_element

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


locate_next_different_element

public boolean locate_next_different_element(Iterator where)
            throws IteratorInBetween,
                   IteratorInvalid
Specified by:
locate_next_different_element in interface EqualityCollectionOperations


locate_next_element

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


locate_or_add_element

public boolean locate_or_add_element(Any element)
            throws ElementInvalid
Specified by:
locate_or_add_element in interface EqualityCollectionOperations


locate_or_add_element_set_iterator

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


locate_previous_different_element

public boolean locate_previous_different_element(Iterator where)
            throws IteratorInvalid
Specified by:
locate_previous_different_element in interface EqualitySortedCollectionOperations


locate_previous_element

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


number_of_different_elements

public int number_of_different_elements()
Specified by:
number_of_different_elements in interface EqualityCollectionOperations


number_of_elements

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


number_of_occurrences

public int number_of_occurrences(Any element)
            throws ElementInvalid
Specified by:
number_of_occurrences in interface EqualityCollectionOperations


remove_all

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


remove_all_occurrences

public int remove_all_occurrences(Any element)
            throws ElementInvalid
Specified by:
remove_all_occurrences in interface EqualityCollectionOperations


remove_element

public boolean remove_element(Any element)
            throws ElementInvalid
Specified by:
remove_element in interface EqualityCollectionOperations


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_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


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_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