blob: 095527a288fff0eed1eb2bcfdcccce434bc3b4e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
package bjc.esodata;
import java.util.*;
import java.util.function.Consumer;
/**
* Implementation of {@link Spooler} which supports a number of additional features.
*
* @author bjcul
*
* @param <T> The type of data contained on the spools
*/
public class ComplexSpooler<T> implements Spooler<T> {
private Queue<Spool<T>> pendingAnonSpools;
private Map<String, Queue<Spool<T>>> pendingGroupedSpools;
private Map<String, Spool<T>> labelledSpools;
@Override
public void registerSpool(Spool<T> spool) {
// TODO Auto-generated method stub
}
@Override
public Consumer<T> getInput() {
// TODO Auto-generated method stub
return null;
}
@Override
public Iterator<T> getOutput() {
// TODO Auto-generated method stub
return null;
}
@Override
public Spool<T> getSpool() {
// TODO Auto-generated method stub
return null;
}
}
|