|
Copyright 2008 - 2009 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg This software is released under an open source BSD licence.
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
fj.data.fingertrees
Class Node3<V,A>
java.lang.Object
fj.data.fingertrees.Node<V,A>
fj.data.fingertrees.Node3<V,A>
public final class Node3<V,A>
- extends Node<V,A>
A three-element inner tree node.
Method Summary |
|
foldLeft(F<B,F<A,B>> bff,
B z)
|
|
foldRight(F<A,F<B,B>> aff,
B z)
|
P2<Integer,A> |
lookup(F<V,Integer> o,
int i)
|
|
match(F<Node2<V,A>,B> n2,
F<Node3<V,A>,B> n3)
|
Digit<V,A> |
toDigit()
|
V3<A> |
toVector()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
foldRight
public <B> B foldRight(F<A,F<B,B>> aff,
B z)
- Specified by:
foldRight
in class Node<V,A>
foldLeft
public <B> B foldLeft(F<B,F<A,B>> bff,
B z)
- Specified by:
foldLeft
in class Node<V,A>
match
public <B> B match(F<Node2<V,A>,B> n2,
F<Node3<V,A>,B> n3)
- Specified by:
match
in class Node<V,A>
toDigit
public Digit<V,A> toDigit()
- Specified by:
toDigit
in class Node<V,A>
lookup
public P2<Integer,A> lookup(F<V,Integer> o,
int i)
- Specified by:
lookup
in class Node<V,A>
toVector
public V3<A> toVector()
|
Copyright 2008 - 2009 Tony Morris, Runar Bjarnason, Tom Adams, Brad Clow, Ricky Clarkson, Nick Partridge, Jason Zaugg This software is released under an open source BSD licence.
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |