org.omg.CosCollection
Class _BagStub

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CosCollection._BagStub
All Implemented Interfaces:
Bag, BagOperations, Collection, CollectionOperations, EqualityCollection, EqualityCollectionOperations, IDLEntity, Object, java.io.Serializable

public class _BagStub
extends ObjectImpl
implements Bag

Generated from IDL interface "Bag"

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

Field Summary
static java.lang.Class _opsClass
           
 
Constructor Summary
_BagStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 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)
           
 boolean contains_all_from(Collection collector)
           
 boolean contains_element(Any element)
           
 Iterator create_iterator(boolean read_only)
           
 void destroy()
           
 TypeCode element_type()
           
 boolean is_empty()
           
 boolean locate_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)
           
 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(Iterator where)
           
 boolean remove_element(Any element)
           
 void replace_element_at(Iterator where, Any element)
           
 boolean retrieve_element_at(Iterator where, AnyHolder element)
           
 
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

_BagStub

public _BagStub()
Method Detail

_ids

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

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

number_of_elements

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

locate_element

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

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

element_type

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

remove_element

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

number_of_different_elements

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

contains_element

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

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

locate_next_different_element

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

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

locate_next_element

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

contains_all_from

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

locate_or_add_element

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

number_of_occurrences

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

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

remove_all

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

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

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

all_elements_do

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

remove_all_occurrences

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