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
String
s对象数量
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.