Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static boolean isNotEmpty(String s) {
return (s != null) && !s.isEmpty();
}
public static boolean isEmpty(String s) {
return !isNotEmpty(s);
}
}