Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 348 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 348 Bytes

Java FastScanner

Replacement for faster input than scanner

example usage:

FastScanner scanner = new FastScanner(System.in);
int x = scanner.nextInt();
String s = scanner.next();
String line = scanner.nextLine();
int[] array = scanner.nextIntArray(5);

Attention! Does not validate input data, which may lead to unexpected behavior