14 lines
352 B
Java
Raw Normal View History

2015-09-07 11:44:36 -06:00
// com/mindviewinc/util/TaskItem.java
2015-06-15 17:47:35 -07:00
// A Future and the Callable that produced it.
package com.mindviewinc.util;
import java.util.concurrent.*;
public class TaskItem<R,C extends Callable<R>> {
public final Future<R> future;
public final C task;
public TaskItem(Future<R> future, C task) {
this.future = future;
this.task = task;
}
2015-09-07 11:44:36 -06:00
}