org.omg.CosCollection
Class _CSequenceStub

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CosCollection._CSequenceStub
All Implemented Interfaces:
Collection, CollectionOperations, CSequence, CSequenceOperations, IDLEntity, Object, OrderedCollection, OrderedCollectionOperations, SequentialCollection, SequentialCollectionOperations, java.io.Serializable

public class _CSequenceStub
extends ObjectImpl
implements CSequence

Generated from IDL interface "CSequence"

Author:
JacORB IDL compiler V 2.2.3, 10-Dec-2005
See Also:
Serialized Form

Field Summary
static java.lang.Class _opsClass
           
 
Constructor Summary
_CSequenceStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 void add_all_from(Collection collector)
           
 void add_element_as_first_set_iterator(Any element, Iterator where)
           
 void add_element_as_first(Any element)
           
 void add_element_as_last_set_iterator(Any element, Iterator where)
           
 void add_element_as_last(Any element)
           
 void add_element_as_next(Any element, Iterator where)
           
 void add_element_as_previous(Any element, Iterator where)
           
 void add_element_at_position_set_iterator(int position, Any element, Iterator where)
           
 void add_element_at_position(int position, Any element)
           
 boolean add_element_set_iterator(Any element, Iterator where)
           
 boolean add_element(Any element)
           
 boolean all_elements_do(Command what)
           
 int compare(CSequence collector, Comparator comparison)
           
 Iterator create_iterator(boolean read_only)
           
 OrderedIterator create_ordered_iterator(boolean read_only, boolean reverse_iteration)
           
 void destroy()
           
 TypeCode element_type()
           
 boolean is_empty()
           
 int number_of_elements()
           
 int remove_all()
           
 void remove_element_at_position(int position)
           
 void remove_element_at(Iterator where)
           
 void remove_first_element()
           
 void remove_last_element()
           
 void replace_element_at_position(int position, Any element)
           
 void replace_element_at(Iterator where, Any element)
           
 void replace_first_element(Any element)
           
 void replace_last_element(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)
           
 void reverse()
           
 void sort(Comparator comparison)
           
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

_opsClass

public static final java.lang.Class _opsClass
Constructor Detail

_CSequenceStub

public _CSequenceStub()
Method Detail

_ids

public java.lang.String[] _ids()
Specified by:
_ids in class ObjectImpl

add_element_as_last

public void add_element_as_last(Any element)
                         throws ElementInvalid
Specified by:
add_element_as_last in interface SequentialCollectionOperations
Throws:
ElementInvalid

reverse

public void reverse()
Specified by:
reverse in interface SequentialCollectionOperations

number_of_elements

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

retrieve_element_at

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

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
Throws:
PositionInvalid

add_element_as_first

public void add_element_as_first(Any element)
                          throws ElementInvalid
Specified by:
add_element_as_first in interface SequentialCollectionOperations
Throws:
ElementInvalid

add_element_at_position

public void add_element_at_position(int position,
                                    Any element)
                             throws PositionInvalid,
                                    ElementInvalid
Specified by:
add_element_at_position in interface SequentialCollectionOperations
Throws:
PositionInvalid
ElementInvalid

add_element_as_next

public void add_element_as_next(Any element,
                                Iterator where)
                         throws ElementInvalid,
                                IteratorInvalid
Specified by:
add_element_as_next in interface SequentialCollectionOperations
Throws:
ElementInvalid
IteratorInvalid

replace_element_at_position

public void replace_element_at_position(int position,
                                        Any element)
                                 throws PositionInvalid,
                                        ElementInvalid
Specified by:
replace_element_at_position in interface SequentialCollectionOperations
Throws:
PositionInvalid
ElementInvalid

element_type

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

replace_last_element

public void replace_last_element(Any element)
                          throws EmptyCollection,
                                 ElementInvalid
Specified by:
replace_last_element in interface SequentialCollectionOperations
Throws:
EmptyCollection
ElementInvalid

create_ordered_iterator

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

remove_element_at

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

add_element

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

sort

public void sort(Comparator comparison)
Specified by:
sort in interface SequentialCollectionOperations

add_element_at_position_set_iterator

public void add_element_at_position_set_iterator(int position,
                                                 Any element,
                                                 Iterator where)
                                          throws PositionInvalid,
                                                 ElementInvalid,
                                                 IteratorInvalid
Specified by:
add_element_at_position_set_iterator in interface SequentialCollectionOperations
Throws:
PositionInvalid
ElementInvalid
IteratorInvalid

is_empty

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

create_iterator

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

retrieve_first_element

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

compare

public int compare(CSequence collector,
                   Comparator comparison)
Specified by:
compare in interface CSequenceOperations

replace_first_element

public void replace_first_element(Any element)
                           throws EmptyCollection,
                                  ElementInvalid
Specified by:
replace_first_element in interface SequentialCollectionOperations
Throws:
EmptyCollection
ElementInvalid

add_element_as_last_set_iterator

public void add_element_as_last_set_iterator(Any element,
                                             Iterator where)
                                      throws ElementInvalid,
                                             IteratorInvalid
Specified by:
add_element_as_last_set_iterator in interface SequentialCollectionOperations
Throws:
ElementInvalid
IteratorInvalid

remove_last_element

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

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
Throws:
ElementInvalid
IteratorInvalid

add_element_as_first_set_iterator

public void add_element_as_first_set_iterator(Any element,
                                              Iterator where)
                                       throws ElementInvalid,
                                              IteratorInvalid
Specified by:
add_element_as_first_set_iterator in interface SequentialCollectionOperations
Throws:
ElementInvalid
IteratorInvalid

remove_first_element

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

remove_all

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

add_element_as_previous

public void add_element_as_previous(Any element,
                                    Iterator where)
                             throws ElementInvalid,
                                    IteratorInvalid
Specified by:
add_element_as_previous in interface SequentialCollectionOperations
Throws:
ElementInvalid
IteratorInvalid

destroy

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

add_all_from

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

remove_element_at_position

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

retrieve_last_element

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

all_elements_do

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

replace_element_at

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