/[schmitzm]
ViewVC logotype

Revision 1001


Jump to revision: Previous Next
Author: alfonx
Date: Tue Sep 14 12:29:01 2010 UTC (14 years, 5 months ago)
Changed paths: 1
Log Message:
Neue Methode:

final static Pattern onlyZerosRegEx = Pattern.compile("^([\\s0.,]*)$");

	/**
	 * Liefert <code>true</code> wenn der String nur Nullen, Leerzeichen, Kommata und/oder
	 * Punkte enthält.
	 */
	public static boolean onlyZero(String numerString) {
		return onlyZerosRegEx.matcher(numerString).find();
	}

Changed paths

Path Details
Directorytrunk/src/schmitzm/lang/LangUtil.java modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26