Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean comprobar(List<String> l){
- boolean estexto=false;
- for(String linea: l){
- for(int i=0;i<linea.length();i++){
- if(linea.charAt(i)=='.' || linea.charAt(i)=='-' || linea.charAt(i)=='/' || linea.charAt(i)==' '){
- estexto=false;
- }else{
- estexto=true;
- }
- }
- }
- return estexto;
- }
Advertisement
Add Comment
Please, Sign In to add comment