Commit ab7fbbe0 authored by Michael Ritter's avatar Michael Ritter
Browse files

Wrap the KnownFuture with a generic Submittable

This was done because we ended up with a lot of nesting of generics. While it's not too big of an issue, it became a bit less readable and overall just bloated lines.
parent 38865385
package edu.umiacs.ace.util;
/**
* KnownSubmittableFuture. Just so we have less generics going around.
*
* Created by shake on 9/14/15.
*/
public class KSFuture<V extends Runnable> extends KnownFuture<Submittable<V>> {
public KSFuture(Runnable runnable, Submittable<V> result) {
super(runnable, result);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment