Constructor and Description |
---|
Threader() |
Modifier and Type | Method and Description |
---|---|
Threadable |
thread(Iterable<? extends Threadable> messages)
The client passes in a list of Iterable objects, and
the Threader constructs a connected 'graph' of messages
|
Threadable |
thread(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(List<? extends Threadable> messages)
messages
- list of messages to thread, must not be emptypublic Threadable thread(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 emptyCopyright © 2001–2017 The Apache Software Foundation. All rights reserved.