This file contains 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 nouns; | |
import java.io.BufferedInputStream; | |
import java.io.BufferedWriter; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.Writer; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; |
This file contains 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
import java.util.Random; | |
import java.util.logging.Level; | |
import java.util.stream.LongStream; | |
import net.tuis.ubench.UBench; | |
import net.tuis.ubench.UUtils; | |
public class NeatNums { | |
This file contains 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
/** | |
* Simple helper method that prints the specified title, underlined with '=' | |
* characters. | |
* | |
* @param title | |
* the title to print (null or empty titles will be ignored). | |
*/ | |
public static void reportTitle(String title) { | |
if (title == null || title.isEmpty()) { | |
return; |