com.github.javacliparser.StringUtils Java Examples
The following examples show how to use
com.github.javacliparser.StringUtils.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Globals.java From incubator-samoa with Apache License 2.0 | 5 votes |
public static String getWorkbenchInfoString() { StringBuilder result = new StringBuilder(); result.append(workbenchTitle); StringUtils.appendNewline(result); result.append("Version: "); result.append(versionString); StringUtils.appendNewline(result); result.append("Copyright: "); result.append(copyrightNotice); StringUtils.appendNewline(result); result.append("Web: "); result.append(webAddress); return result.toString(); }
Example #2
Source File: SingleVector.java From moa with GNU General Public License v3.0 | 5 votes |
public void getSingleLineDescription(StringBuilder out, int numValues) { out.append("{"); for (int i = 0; i < numValues; i++) { if (i > 0) { out.append("|"); } out.append(StringUtils.doubleToString(getValue(i), 3)); } out.append("}"); }
Example #3
Source File: Globals.java From samoa with Apache License 2.0 | 5 votes |
public static String getWorkbenchInfoString() { StringBuilder result = new StringBuilder(); result.append(workbenchTitle); StringUtils.appendNewline(result); result.append("Version: "); result.append(versionString); StringUtils.appendNewline(result); result.append("Copyright: "); result.append(copyrightNotice); StringUtils.appendNewline(result); result.append("Web: "); result.append(webAddress); return result.toString(); }