单词 | String parameter |
例句 | 1. personName is defined as a String parameter. 2. The data is represented as a string parameter, since XML can be represented as a string. 3. A short - string parameter is passed as a 32 bit pointer to a short string. 4. The first example method takes a String parameter message and prints the message with a timestamp — useful for debugging messages, for example. 5. Again, the example uses a string parameter,(sentence dictionary) but you can use any object. 6. Both methods can use a string parameter as the message text shown above the bar. 7. The method takes a string parameter, enclosed in quotes, and a code block. 8. All methods accept one string parameter (the name of user) and return a string value. 9. The point here is that using a string parameter to send XML across a web service interface is generally considered bad design and should be avoided. 10. The extra String parameter supplied to jMock CGLIB's mock() method is used as an identifier for the mock object created. 11. It has a single operation, Ask, that takes in a single String parameter, question, and returns a single String as a response, answer. 12. A datapool is a table of values to be substituted for an explicit string parameter in a request. 13. Notice that the time stamp isn't put in lowercase but the String parameter is. 14. 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. 15. declares one operation: snoopy , which takes a single string parameter. 16. The solution to this is to add a new variation of the setDirty method that takes a String parameter. 17. In Listing 2, I declare a single static method that accepts a String parameter (traditionally called self, but you can call it whatever you like) that represents the class I'm adding the method to. 18. Clients first request an instance of PoIdGenerator, then invoke getPoId() on the instance, passing in a String parameter specifying the type of the persistent object (Figure 2). 19. Second, when we wrote to the record store with writeRecord(String str), we first converted the Java string parameter into a byte array. 20. The traditional Java programmer would do this by defining a String parameter to oncePerSecond to contain the message to display. |
随便看 |
|
英语例句大全共收录104207条中英例句词条,基本覆盖所有常用英文单词的例句、长难句及中文翻译,是不可多得的英语学习材料。