Bruce Eckel 49edcc8b17 reorg
2015-06-15 17:47:35 -07:00

15 lines
400 B
Java

//: com/mindviewinc/util/TaskItem.java
// ©2015 MindView LLC: see Copyright.txt
// 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;
}
} ///:~