public final class StdIn {
private static Scanner scanner;
public static boolean isEmpty() { return !scanner.hasNext(); }
private static void resync() {
setScanner(new Scanner(new java.io.BufferedInputStream(System.in), CHARSET_NAME));
}
private static void setScanner(Scanner scanner) {
StdIn.scanner = scanner;
StdIn.scanner.useLocale(LOCALE);
}
StdIn.isEmpty() == true