org.apache.directory.server.core.partition.tree
Interface Node

All Known Implementing Classes:
BranchNode, LeafNode

public interface Node

An interface for nodes in a tree designed to quickly lookup partitions. Branch nodes in this tree contain other nodes. Leaf nodes in the tree contain a referrence to a partition whose suffix is the path through the nodes of the tree from the root.

Author:
Apache Directory Project

Method Summary
 boolean isLeaf()
          Tells if the implementation is a leaf node.
 

Method Detail

isLeaf

boolean isLeaf()
Tells if the implementation is a leaf node. If it's a branch node then false is returned.

Returns:
true if the class is a leaf node, false otherwise.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.