本文整理汇总了Java中com.sun.corba.se.impl.corba.AnyImpl类的典型用法代码示例。如果您正苦于以下问题:Java AnyImpl类的具体用法?Java AnyImpl怎么用?Java AnyImpl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AnyImpl类属于com.sun.corba.se.impl.corba包,在下文中一共展示了AnyImpl类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: get_slot
import com.sun.corba.se.impl.corba.AnyImpl; //导入依赖的package包/类
/**
* This method get the slot data for the given slot id (index).
*/
public Any get_slot( int id ) throws InvalidSlot
{
// First check whether the slot is allocated
// If not, raise the invalid slot exception
if( id >= theSlotData.length ) {
throw new InvalidSlot();
}
if( theSlotData[id] == null ) {
theSlotData [id] = new AnyImpl(orb);
}
return theSlotData[ id ];
}
示例2: extractAnyFromStream
import com.sun.corba.se.impl.corba.AnyImpl; //导入依赖的package包/类
static Any extractAnyFromStream(TypeCode memberType, InputStream input, ORB orb) {
return AnyImpl.extractAnyFromStream(memberType, input, orb);
}
示例3: copy
import com.sun.corba.se.impl.corba.AnyImpl; //导入依赖的package包/类
static Any copy(Any inAny, ORB orb) {
return new AnyImpl(orb, inAny);
}
示例4: create_any
import com.sun.corba.se.impl.corba.AnyImpl; //导入依赖的package包/类
/**
* Create a new Any
*
* @return the new Any created.
*/
public synchronized Any create_any()
{
checkShutdownState();
return new AnyImpl(this);
}
示例5: create_any
import com.sun.corba.se.impl.corba.AnyImpl; //导入依赖的package包/类
public Any create_any() {
return new AnyImpl(this);
}