Subversion Repositories eFlore/Applications.coel

Rev

Rev 1415 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1415 Rev 1468
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
	}