|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.util.tree.DnLeafNode<N>
public class DnLeafNode<N>
A leaf node which stores an element. These objects are stored in BranchNodes.
Constructor Summary | |
---|---|
DnLeafNode(N element)
Creates a new instance of DnLeafNode. |
Method Summary | |
---|---|
N |
getElement()
|
boolean |
isLeaf()
Tells if the implementation is a leaf node. |
int |
size()
Returns the number of entries under this node. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DnLeafNode(N element)
element
- the element to storeMethod Detail |
---|
public boolean isLeaf()
DnNode
isLeaf
in interface DnNode<N>
true
if the class is a leaf node, false otherwise.DnNode.isLeaf()
public N getElement()
public int size()
size
in interface DnNode<N>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |