public final class ParentReferenceFactoryImpl<E> extends Object implements ParentReferenceFactory<E,MutableBinaryTreeNode<E>>
ParentReferenceFactory
for MutableBinaryTreeNodeImpl
.Constructor and Description |
---|
ParentReferenceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
forClass() |
ParentReference<MutableBinaryTreeNode<E>> |
wrap(MutableBinaryTreeNode<E> node)
Wrap a node as a parent reference.
|
ParentReference<MutableBinaryTreeNode<E>> |
wrap(Tree<E,MutableBinaryTreeNode<E>> tree)
Wrap a tree as a parent reference.
|
public ParentReference<MutableBinaryTreeNode<E>> wrap(MutableBinaryTreeNode<E> node)
ParentReferenceFactory
wrap
in interface ParentReferenceFactory<E,MutableBinaryTreeNode<E>>
node
- The node to wrappublic ParentReference<MutableBinaryTreeNode<E>> wrap(Tree<E,MutableBinaryTreeNode<E>> tree)
ParentReferenceFactory
wrap
in interface ParentReferenceFactory<E,MutableBinaryTreeNode<E>>
tree
- The tree to wrappublic Class<?> forClass()
forClass
in interface SPIComponent
Copyright © 2014–2016. All rights reserved.