java.lang.Object
xyz.cofe.collection.UpTreeImpl
public class UpTreeImpl
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.WeakHashMap<UpTree,UpTree>childParentRef -
Constructor Summary
Constructors Constructor Description UpTreeImpl() -
Method Summary
Modifier and Type Method Description static booleancompareAndSetParent(UpTree child, UpTree parent, UpTree newparent)static UpTreegetParent(UpTree child)static <A extends UpTree<A>>
voidpostInsert(UpTree<A> ut, A node, java.util.List<Triple<java.lang.Integer,A,A>> added)static voidsetParent(UpTree child, UpTree parent)static <A extends UpTree<A>>
intsibIndex(UpTree sib)static <A extends UpTree<A>>
Asibling(A node, int sib)
-
Field Details
-
Constructor Details
-
UpTreeImpl
public UpTreeImpl()
-
-
Method Details