public class Auth {
public static boolean notEmpty(Object obj){
return ( null != obj );
}
public static boolean isEmpty(Object obj){
return ( null == obj );
}
public static boolean notText(String text){
return ( notEmpty(text) && !isText(text) );
}
public static boolean isText(String text){
return ( (Strings.EMPTY == text) && Strings.EMPTY.equals(text) );
}
public static boolean operate(Object args0,Object args1){
return ( args0 == args1 );
}
public static boolean notSession(javax.servlet.http.HttpServletRequest request){
return (null != request.getSession(false));
}
public static boolean isSession(javax.servlet.http.HttpServletRequest request){
return (null == request.getSession(false));
}
}