首页 / 词典 / good

println

  • n.打印;换行打印(Java 语言中的命令)
printlnprintln
  1. Suppose that I make just one tiny change and remove result from the println .

    假设进行一个简单修改,从println中删除result。

  2. In that new file , type println " Hello , Groovy baby !"

    在这个新文件中,输入println“Hello,Groovybaby!”

  3. In this situation , treat the method where the println () occurs as a suspected method .

    在这种情况下,把出现println()的方法看作被怀疑的方法。

  4. System . out . println (" in main () - interrupting other thread ");

    在主线程中中断另一个正在休眠的线程。

  5. Consider the argument : a Date object is being created just to send its value to println ( ) .

    请观察它的自变量:创建Date对象唯一的目的就是将它的值发送给println()。

  6. In this example , we set the breakpoint in the line System . out . println (" This is a test . "); .

    在这个例子中,我们在DE>System.out.println(“Thisisatest.”);DE>这行中设置断点。

  7. Printf is used instead of println .

    使用了printf而非println。

  8. Minimize the use of Java I / O library methods ( for example System . out . println ()) to reduce unnecessary performance overhead .

    请尽可能少地使用JavaI/O库方法(例如System.out.println()),以减少不必要的性能开销。

  9. The sayHello () function takes one parameter , which it outputs to the console in the following println () statement .

    sayHello()函数只有一个参数,它会使用println()语句将这个参数输出到控制台。

  10. Note the braces enclosing the System . out . println () statement in the integerLiteral rule .

    请注意integerLiteral规则中用花括号包括的System.out.println()语句。

  11. Note in particular the last statement in the method : System . out . println (" integer = " + t.image ) .

    特别需要注意方法中的最后一条语句:System.out.println(“integer=”+t.image)。

  12. When you call println langs , it calls the Node . toString () method , returning debug output .

    当您调用printlnlangs时,它会调用Node.toString()方法,以便返回调试输出。

  13. Note too how Groovlets have implicit access to a request object and how using println suffices for returning a response .

    同时,Groovlets可以隐式访问request对象,而且使用println就足以返回响应。

  14. The third and final Invoke in the operation is a println () using the LocalVariable timestamp as a single argument .

    操作中的第3个(最后一个)Invoke是一个使用LocalVariabletimestamp作为单个参数的println()。

  15. Simply replace calls to System . out . println ()( or whatever mechanism you 're using to output trace data ) with calls to relevant log4j method .

    您只需把对System.out.println()(或您用于输出跟踪数据的其他任何机制)的调用替换为对相应log4j方法的调用。

  16. In order to use it , simply call out . print () or out . println () from within a JSP scriptlet .

    在JSPscriptlet中可以通过简单地调用out.print()或out.println()使用它。

  17. We used System . out . println () as a " poor-man 's debugger ", a quick and dirty way to output logging information .

    我们使用System.out.println()作为一种“简陋的调试器”,利用这种快捷但糟糕的方式记录信息。

  18. You can also add System . out . println (" VerifyRiskOfficerInvolvement method called ") or a similar statement if you want to see when the method is called in server log files .

    如果您想在服务器日志文件中查看方法调用的时间,可以添加System.out.println(“VerifyRiskOfficerInvolvementmethodcalled”)或类似语句。

  19. Thus , the rich set of features that log4j provides comes out of the original desire to have a " better " System . out . println () for logging statements .

    因此,log4j提供的丰富功能来源于原始想法,是一种“更好的”System.out.println()日志语句。

  20. Performing a print () is a whole lot easier than System . out . println () in Java , so the learning curve is relatively small and there are advantages to be gained .

    执行print()远比执行Java的System.out.println()容易得多,学习起来也相对容易,所以的确能带来一些好处。

  21. During the processing of the JSP page on the server side , the println ( link ( request . requestURL )) call outputs a link to the current page .

    在服务器端处理JSP页面时,println(link(request.requestURL))调用向当前页面输出一个链接。

  22. With a Domino Web service , messages written using Messagebox ( in LotusScript ) or System . out . println ( in Java ) are sent to the server console .

    使用一个DominoWeb服务,使用Messagebox(在LotusScript中)或System.out.println(在Java中)编写的消息将发送到服务器控制台。

  23. This version outputs to standard output ( using the System . out . println () method ), but you can easily adapt it to work within a Web-based application for the dynamic elements of a VoiceXML application .

    该版本输出到标准输出(通过System.out.println()方法),稍加修改就能用于基于Web的应用程序内,实现VoiceXML应用程序的动态元素。

  24. While a catch block with a System . err . println () statement might be considered error-handling in the loosest sense of the word , it 's a pretty poor approach .

    不精确地讲,包含System.err.println()语句的catch块可以被认为是错误处理,这是一个非常拙劣的方法。

  25. First , set a breakpoint in main () System . out . println () by double-clicking in the gray margin on the left side of the editor view , next to the call to System . out . println () .

    首先双击编辑器视图左端的灰色边沿,从而在调用System.out.println()之后的main()System.out.println()中设置一个断点。

  26. Finally , the Java System . out . println () code that 's generated in the parser is able to get at the internals of that token at parse time , using t.image to access and print out its textual value .

    最后,在解析器中生成的JavaSystem.out.println()代码可以在解析时在那个记号的内部使用t.image进行访问并且打印其文本值。