⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 utilities.java

📁 大名鼎鼎的java动态脚本语言。已经通过了sun的认证
💻 JAVA
字号:
package org.codehaus.groovy.tools;/** *  Various utility functions for use in the compiler. */public abstract class Utilities{   /**    *  Returns a string made up of repetitions of the specified string.    */    public static String repeatString( String pattern, int repeats )    {        StringBuffer buffer = new StringBuffer( pattern.length() * repeats );        for( int i = 0; i < repeats; i++ )        {            buffer.append( pattern );        }        return new String( buffer );    }   /**    *  Returns the end-of-line marker.    */    public static String eol()    {        return eol;    }        private static String eol = System.getProperty( "line.separator", "\n" ); }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -