org.omg.CosCollection
Class SortedBagPOATie

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.CosCollection.SortedBagPOA
          extended byorg.omg.CosCollection.SortedBagPOATie
All Implemented Interfaces:
CollectionOperations, EqualityCollectionOperations, EqualitySortedCollectionOperations, InvokeHandler, OrderedCollectionOperations, SortedBagOperations, SortedCollectionOperations

public class SortedBagPOATie
extends SortedBagPOA

Generated from IDL interface "SortedBag"

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

Constructor Summary
SortedBagPOATie(SortedBagOperations delegate)
           
SortedBagPOATie(SortedBagOperations delegate, POA poa)
           
 
Method Summary
 POA _default_POA()
           
 SortedBagOperations _delegate()
           
 void _delegate(SortedBagOperations delegate)
           
 SortedBag _this()
           
 SortedBag _this(ORB orb)
           
 void add_all_from(Collection collector)
           
 boolean add_element_set_iterator(Any element, Iterator where)
           
 boolean add_element(Any element)
           
 boolean all_elements_do(Command what)
           
 int compare(SortedBag 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_set_iterator(Any element, Iterator where)
           
 boolean locate_or_add_element(Any element)
           
 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_occurrences(Any element)
           
 int remove_all()
           
 void remove_element_at_position(int position)
           
 void remove_element_at(Iterator where)
           
 boolean remove_element(Any element)
           
 void remove_first_element()
           
 void remove_last_element()
           
 void replace_element_at(Iterator where, Any element)
           
 boolean retrieve_element_at_position(int position, AnyHolder element)
           
 boolean retrieve_element_at(Iterator where, AnyHolder element)
           
 boolean retrieve_first_element(AnyHolder element)
           
 boolean retrieve_last_element(AnyHolder element)
           
 
Methods inherited from class org.omg.CosCollection.SortedBagPOA
_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

SortedBagPOATie

public SortedBagPOATie(SortedBagOperations delegate)

SortedBagPOATie

public SortedBagPOATie(SortedBagOperations delegate,
                       POA poa)
Method Detail

_this

public SortedBag _this()
Overrides:
_this in class SortedBagPOA

_this

public SortedBag _this(ORB orb)
Overrides:
_this in class SortedBagPOA

_delegate

public SortedBagOperations _delegate()

_delegate

public void _delegate(SortedBagOperations delegate)

_default_POA

public POA _default_POA()
Overrides:
_default_POA in class Servant

locate_next_element

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

contains_element

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

locate_previous_element

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

locate_or_add_element_set_iterator

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

number_of_different_elements

public int number_of_different_elements()

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

is_empty

public boolean is_empty()

remove_element_at_position

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

locate_or_add_element

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

remove_first_element

public void remove_first_element()
                          throws EmptyCollection
Throws:
EmptyCollection

remove_all_occurrences

public int remove_all_occurrences(Any element)
                           throws ElementInvalid
Throws:
ElementInvalid

retrieve_last_element

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

retrieve_first_element

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

remove_element

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

locate_element

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

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

compare

public int compare(SortedBag collector,
                   Comparator comparison)

locate_previous_different_element

public boolean locate_previous_different_element(Iterator where)
                                          throws IteratorInvalid
Throws:
IteratorInvalid

retrieve_element_at

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

locate_first_element

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

destroy

public void destroy()

contains_all_from

public boolean contains_all_from(Collection collector)
                          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()

remove_element_at

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

number_of_occurrences

public int number_of_occurrences(Any element)
                          throws ElementInvalid
Throws:
ElementInvalid

remove_all

public int remove_all()

add_element_set_iterator

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

all_elements_do

public boolean all_elements_do(Command what)

remove_last_element

public void remove_last_element()
                         throws EmptyCollection
Throws:
EmptyCollection

locate_last_element

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

locate_next_different_element

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