org.omg.CosCollection
Class KeySortedBagPOATie

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.CosCollection.KeySortedBagPOA
          extended byorg.omg.CosCollection.KeySortedBagPOATie
All Implemented Interfaces:
CollectionOperations, InvokeHandler, KeyCollectionOperations, KeySortedBagOperations, KeySortedCollectionOperations, OrderedCollectionOperations, SortedCollectionOperations

public class KeySortedBagPOATie
extends KeySortedBagPOA

Generated from IDL interface "KeySortedBag"

Author:
JacORB IDL compiler V 2.1 (JBoss patch 1), 01-Mar-2004

Constructor Summary
KeySortedBagPOATie(KeySortedBagOperations delegate)
           
KeySortedBagPOATie(KeySortedBagOperations delegate, POA poa)
           
 
Method Summary
 POA _default_POA()
           
 KeySortedBagOperations _delegate()
           
 void _delegate(KeySortedBagOperations delegate)
           
 KeySortedBag _this()
           
 KeySortedBag _this(ORB orb)
           
 void add_all_from(Collection collector)
           
 boolean add_element_set_iterator(Any element, Iterator where)
           
 boolean add_element(Any element)
           
 boolean add_or_replace_element_with_key_set_iterator(Any element, Iterator where)
           
 boolean add_or_replace_element_with_key(Any element)
           
 boolean all_elements_do(Command what)
           
 int compare(KeySortedBag 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()
           
 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_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_set_iterator(Any element, Iterator where)
           
 boolean locate_or_add_element_with_key(Any element)
           
 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_with_key(Any key)
           
 int number_of_elements()
           
 int remove_all_elements_with_key(Any key)
           
 int remove_all()
           
 void remove_element_at_position(int position)
           
 void remove_element_at(Iterator where)
           
 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_set_iterator(Any element, Iterator where)
           
 boolean replace_element_with_key(Any element)
           
 boolean retrieve_element_at_position(int position, AnyHolder element)
           
 boolean retrieve_element_at(Iterator where, 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.CosCollection.KeySortedBagPOA
_all_interfaces, _invoke
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeySortedBagPOATie

public KeySortedBagPOATie(KeySortedBagOperations delegate)

KeySortedBagPOATie

public KeySortedBagPOATie(KeySortedBagOperations delegate,
                          POA poa)
Method Detail

_this

public KeySortedBag _this()
Overrides:
_this in class KeySortedBagPOA

_this

public KeySortedBag _this(ORB orb)
Overrides:
_this in class KeySortedBagPOA

_delegate

public KeySortedBagOperations _delegate()

_delegate

public void _delegate(KeySortedBagOperations delegate)

_default_POA

public POA _default_POA()
Overrides:
_default_POA in class Servant

remove_all_elements_with_key

public int remove_all_elements_with_key(Any key)
                                 throws KeyInvalid
Throws:
KeyInvalid

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

contains_all_keys_from

public boolean contains_all_keys_from(KeyCollection collector)
                               throws KeyInvalid
Throws:
KeyInvalid

locate_next_element_with_key

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

element_type

public TypeCode element_type()

create_iterator

public Iterator create_iterator(boolean read_only)

retrieve_element_at_position

public boolean retrieve_element_at_position(int position,
                                            AnyHolder element)
                                     throws PositionInvalid
Throws:
PositionInvalid

locate_element_with_key

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

number_of_elements_with_key

public int number_of_elements_with_key(Any key)
                                throws KeyInvalid
Throws:
KeyInvalid

is_empty

public boolean is_empty()

remove_element_at_position

public void remove_element_at_position(int position)
                                throws PositionInvalid
Throws:
PositionInvalid

compare

public int compare(KeySortedBag collector,
                   Comparator comparison)

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

remove_first_element

public void remove_first_element()
                          throws EmptyCollection
Throws:
EmptyCollection

locate_first_element_with_key

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

retrieve_last_element

public boolean retrieve_last_element(AnyHolder element)
                              throws EmptyCollection
Throws:
EmptyCollection

locate_or_add_element_with_key

public boolean locate_or_add_element_with_key(Any element)
                                       throws ElementInvalid
Throws:
ElementInvalid

retrieve_first_element

public boolean retrieve_first_element(AnyHolder element)
                               throws EmptyCollection
Throws:
EmptyCollection

add_element

public boolean add_element(Any element)
                    throws ElementInvalid
Throws:
ElementInvalid

replace_element_at

public void replace_element_at(Iterator where,
                               Any element)
                        throws ElementInvalid,
                               IteratorInvalid,
                               IteratorInBetween
Throws:
ElementInvalid
IteratorInvalid
IteratorInBetween

add_or_replace_element_with_key

public boolean add_or_replace_element_with_key(Any element)
                                        throws ElementInvalid
Throws:
ElementInvalid

locate_previous_element_with_different_key

public boolean locate_previous_element_with_different_key(Iterator where)
                                                   throws IteratorInvalid,
                                                          IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

remove_element_with_key

public boolean remove_element_with_key(Any key)
                                throws KeyInvalid
Throws:
KeyInvalid

retrieve_element_at

public boolean retrieve_element_at(Iterator where,
                                   AnyHolder element)
                            throws IteratorInvalid,
                                   IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

key_type

public TypeCode key_type()

destroy

public void destroy()

replace_element_with_key_set_iterator

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

keys

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

add_all_from

public void add_all_from(Collection collector)
                  throws ElementInvalid
Throws:
ElementInvalid

create_ordered_iterator

public OrderedIterator create_ordered_iterator(boolean read_only,
                                               boolean reverse_iteration)

number_of_elements

public int number_of_elements()

locate_next_element_with_different_key

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

locate_last_element_with_key

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

remove_element_at

public void remove_element_at(Iterator where)
                       throws IteratorInvalid,
                              IteratorInBetween
Throws:
IteratorInvalid
IteratorInBetween

number_of_different_keys

public int number_of_different_keys()

remove_all

public int remove_all()

replace_element_with_key

public boolean replace_element_with_key(Any element)
                                 throws ElementInvalid
Throws:
ElementInvalid

add_element_set_iterator

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

contains_element_with_key

public boolean contains_element_with_key(Any key)
                                  throws KeyInvalid
Throws:
KeyInvalid

all_elements_do

public boolean all_elements_do(Command what)

remove_last_element

public void remove_last_element()
                         throws EmptyCollection
Throws:
EmptyCollection

retrieve_element_with_key

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

locate_previous_element_with_key

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

key

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