public abstract class ContextList extends Object
String对象代表一个对象的属性名。这类用在
Request操作描述需要解决与调用发送上下文。(上下文的属性名和返回值与它相关。解决)这是通过调用
Context方法
get_values和提供一个字符串从
ContextList对象作为第三个参数做。方法
get_values返回包含
NamedValue对象持有的价值
NVList对象(S)由给定的字符串标识。
一个ContextList对象由球体的创建,如下图所示:
球球=球体。init(args,null);org.omg.corba.contextlist ctxlist =球体。create_context_list();变
ctxList表示一个空
ContextList对象。字符串添加到列表的方法
add,该方法
item访问,并与
remove去除方法。
Context
| Constructor and Description |
|---|
ContextList() |
public abstract int count()
ContextList返回对象的
String对象数。
ContextList
Strings对象数量
int
public abstract void add(String ctx)
String反对这
ContextList对象。
ctx -
String对象被添加
public abstract String item(int index) throws Bounds
String对象。
index -字符串所需的指标,0是第一个字符串的索引
Bounds -如果指数大于或等于该
ContextList对象数量的字符串
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.