Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block haridaniel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
haridaniel /
Last active Mar 16, 2017
PriorityExecutor that preserves submit order within same priority levels
package hu.daniel.hari.exercises.threading.executors_priority._4;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import hu.daniel.hari.exercises.threading.executors_priority._4.PriorityExecutors.PriorityCallable;
import hu.daniel.hari.exercises.threading.executors_priority._4.PriorityExecutors.PriorityRunnable;
You can’t perform that action at this time.