Package com.sun.corba.se.impl.corba
Class ContextListImpl
java.lang.Object
org.omg.CORBA.ContextList
com.sun.corba.se.impl.corba.ContextListImpl
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ContextListImpl
-
-
Method Details
-
count
public int count()Description copied from class:ContextListReturns the number ofStringobjects in thisContextListobject.- Specified by:
countin classContextList- Returns:
- an
intrepresenting the number ofStrings in thisContextListobject
-
add
Description copied from class:ContextListAdds aStringobject to thisContextListobject.- Specified by:
addin classContextList- Parameters:
ctxt- theStringobject to be added
-
item
Description copied from class:ContextListReturns theStringobject at the given index.- Specified by:
itemin 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 thisContextListobject
-
remove
Description copied from class:ContextListRemoves theStringobject at the given index. Note that the indices of all strings following the one removed are shifted down by one.- Specified by:
removein classContextList- Parameters:
index- the index of theStringobject to be removed, with 0 designating the first string- Throws:
Bounds- if the index is greater than or equal to the number ofStringobjects in thisContextListobject
-