I add a string name and port class variable and then two functions: a constructor and the server.
我添加了一个字符串名称、一个端口类变量,还有两个函数:构造器和服务器。
Each EAR application should have a unique string name for the class loader. Here, we use the application name in the class loader name to avoid repetition.
这里我们使用应用程序名作为类加载器的名称,以避免重复。
The class name in the asynchronous version must be the name of your original interface with the string async added to the end.
异步版本中的类名必须是初始接口的名称且末尾附加字符串async。
In line 14, a test case must have a single string parameter constructor that passes the argument to its parent class (TestCase) for the purpose of displaying the test case name in a log.
在第十四行中,为了在日志中显示这个测试用例的名称,一个测试用例必须有一个可以将自变量传递到它的父类(TestCase)的专门的串参数构造器。
Each of these unit test methods takes an object of a specific class and a string (where the string is expected to be the name of the getter method that you are testing).
每个单元测试方法获取一个具体类的对象和一个字符串(字符串应该是您在测试的getter方法的名称)。
That is another reason why you used the ws extension in the Uml2SimpleRdb relation, so that you can instantiate the IFile class specifying the name of a file as a string.
这也是你在Uml2SimpleRdb关联中使用ws扩展的又一个原因,因为这样你在实例化IFile类的时候可以用一个字符串指明文件。
The class field contains the qualified name of the rule class that you created earlier. The category field contains the identifier string for your Examples category.
类域中包含您先前所创建的规则类的名称。
Enter AntSample as the name of the class and check the box next to public static void main (String args) under the question Which method stubs would you like to create?
输入AntSample作为此类的名称,并选中Whichmethodstubs wouldyouliketo create ?问题下publicstaticvoidmain (Stringargs)旁边的复选框。
The id field should be an identifier that is sufficiently unique (the qualified class name works well for this, but it can be any unique string).
ID区域应该是一个足够独一无二的标识符类名可以很适合它,但是它可以是任何独一无二的字符串。
When a string is returned, it is expected to be the logical name of a page (as opposed to the page's fully qualified class name). As elsewhere, the name of the page is case insensitive.
当返回一个字符串时,该字符串应该是页面的逻辑名(不是页面的类全名)。另外,页面的名字不区分大小写。
Returns the class object associated with the class or interface with the given string name, using the given class loader.
使用指定的类加载器返回指定字符串名称的类或接口的Class对象。
The alias name is used inside the SQL string to refer to the properties of the mapped class (in this case Cat).
别名是为了在SQL语句中引用对应的类(本例中是Cat)的属性的。
The alias name is used inside the SQL string to refer to the properties of the mapped class (in this case Cat).
别名是为了在SQL语句中引用对应的类(本例中是Cat)的属性的。
应用推荐