ix.util.lisp
Class ListCollector
java.lang.Object
|
+--ix.util.lisp.ListCollector
- public class ListCollector
- extends java.lang.Object
- implements Collector
A Collector that uses a LList to hold the elements and that provides
a number of different ways to add elements.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
head
Cons head
tail
Cons tail
ListCollector
public ListCollector()
addElement
public void addElement(java.lang.Object e)
- Specified by:
- addElement in interface Collector
pushElement
public void pushElement(java.lang.Object e)
elements
public java.util.Enumeration elements()
- Specified by:
- elements in interface Collector
contents
public LList contents()
concList
public void concList(LList l)
appendList
public void appendList(LList l)
elementAdder
public Function1 elementAdder()
elementPusher
public Function1 elementPusher()
listAppender
public Function1 listAppender()
listConcer
public Function1 listConcer()