public class Threader extends java.lang.Object
| Constructor | Description |
|---|---|
Threader() |
| Modifier and Type | Method | Description |
|---|---|---|
Threadable |
thread(java.lang.Iterable<? extends Threadable> messages) |
The client passes in a list of Iterable objects, and
the Threader constructs a connected 'graph' of messages
|
Threadable |
thread(java.util.List<? extends Threadable> messages) |
The client passes in a list of Threadable objects, and
the Threader constructs a connected 'graph' of messages
|
Threadable |
thread(Threadable[] messages) |
Deprecated.
(2.2) prefer
thread(List) |
public Threader()
public Threadable thread(java.util.List<? extends Threadable> messages)
messages - list of messages to thread, must not be emptypublic Threadable thread(java.lang.Iterable<? extends Threadable> messages)
messages - iterable of messages to thread, must not be empty@Deprecated public Threadable thread(Threadable[] messages)
thread(List)messages - array of messages to thread, must not be empty