This file contains hidden or 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 com.geneffects.utilities; | |
import javax.sound.sampled.*; | |
/** | |
* | |
* Utility class for random number and random key creation. | |
* | |
* NOTE: requires a microphone/soundcard. (Probably won't work on your server!) | |
* |
This file contains hidden or 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.ConcurrentModificationException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* Asynchronous Queue | |
*<p> | |
* Article at: https://www.digitalturbine.com/blog/java-class-for-easy-multithreaded-loops/ | |
*<p> |