Subversion Repositories eFlore/Applications.coel

Rev

Rev 1383 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1383 Rev 1439
Line 56... Line 56...
56
	}
56
	}
Line 57... Line 57...
57
	
57
	
58
	public static boolean isEmpty(ArrayList<String> entree)	{
58
	public static boolean isEmpty(ArrayList<String> entree)	{
59
		return !(entree!=null && !entree.toString().equals("[]"));
59
		return !(entree!=null && !entree.toString().equals("[]"));
-
 
60
	}
-
 
61
	
-
 
62
	public static boolean isNumber(String str, boolean emptyIsTrue) {
-
 
63
		if (emptyIsTrue) return (str.matches("[0-9]*"));
-
 
64
		else return (str.matches("[0-9]+"));
60
	}
65
	}