Package eu.bandm.tscore.base
Class Util.Triplewise<T>
java.lang.Object
eu.bandm.tscore.base.Util.Triplewise<T>
- Enclosing class:
- Util
Visitor which performs the method
action(Object,Object,Object)
for triples of adjacent elements of an Iterable.
The references wander through the positions, from the third to the first.
The schema for a four element list is as follows:
null null #0
null #0 #1
#0 #1 #2
#1 #2 #3
#2 #3 null
#3 null null
DISLOC should be moved to metatools/ops/Iterators or metatools/util !?!?-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
it
-
t
-
last
-
lastlast
-
-
Constructor Details
-
Triplewise
-
Triplewise
-
-
Method Details
-
action
-
visit
public void visit()
-