This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.josemanuel.prietopalacios.util; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class CrudList<T> { | |
public List<T> create(){ | |
return new ArrayList<T>(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Utils{ | |
public boolean isStrBlank(String str) { | |
if (str == null) { | |
return true; | |
} else if (str.equals("")) { | |
return true; | |
} else if (str.trim().isEmpty()) { | |
return true; | |
} else { |
NewerOlder