Package com.sun.corba.ee.impl.corba
Class ContextListImpl
java.lang.Object
org.omg.CORBA.ContextList
com.sun.corba.ee.impl.corba.ContextListImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INITIAL_CAPACITY
private static final int INITIAL_CAPACITY- See Also:
-
_orb
-
_contexts
-
-
Constructor Details
-
ContextListImpl
-
-
Method Details
-
count
public int count()Description copied from class:ContextList
Returns the number ofString
objects in thisContextList
object.- Specified by:
count
in classContextList
- Returns:
- an
int
representing the number ofString
s in thisContextList
object
-
add
Description copied from class:ContextList
Adds aString
object to thisContextList
object.- Specified by:
add
in classContextList
- Parameters:
ctxt
- theString
object to be added
-
item
Description copied from class:ContextList
Returns theString
object at the given index.- Specified by:
item
in classContextList
- Parameters:
index
- the index of the string desired, with 0 being the index of the first string- Returns:
- the string at the given index
- Throws:
Bounds
- if the index is greater than or equal to the number of strings in thisContextList
object
-
remove
Description copied from class:ContextList
Removes theString
object at the given index. Note that the indices of all strings following the one removed are shifted down by one.- Specified by:
remove
in classContextList
- Parameters:
index
- the index of theString
object to be removed, with 0 designating the first string- Throws:
Bounds
- if the index is greater than or equal to the number ofString
objects in thisContextList
object
-