?? newstringhelper.java
字號:
package choose.xuankePackage;
/**
* choose/xuankePackage/newstringHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.1"
* from choose.idl
* 2006年12月17日 星期日 下午04時47分39秒 CST
*/
abstract public class newstringHelper
{
private static String _id = "IDL:choose/xuanke/newstring:1.0";
public static void insert (org.omg.CORBA.Any a, String[] that)
{
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
}
public static String[] extract (org.omg.CORBA.Any a)
{
return read (a.create_input_stream ());
}
private static org.omg.CORBA.TypeCode __typeCode = null;
synchronized public static org.omg.CORBA.TypeCode type ()
{
if (__typeCode == null)
{
__typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0);
__typeCode = org.omg.CORBA.ORB.init ().create_array_tc (20, __typeCode );
__typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (choose.xuankePackage.newstringHelper.id (), "newstring", __typeCode);
}
return __typeCode;
}
public static String id ()
{
return _id;
}
public static String[] read (org.omg.CORBA.portable.InputStream istream)
{
String value[] = null;
value = new String[20];
for (int _o0 = 0;_o0 < (20); ++_o0)
{
value[_o0] = istream.read_string ();
}
return value;
}
public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value)
{
if (value.length != (20))
throw new org.omg.CORBA.MARSHAL (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
for (int _i0 = 0;_i0 < (20); ++_i0)
{
ostream.write_string (value[_i0]);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -