org.wikimodel.wem.util
Class SectionBuilder.TocEntry<T>
java.lang.Object
org.wikimodel.wem.util.SectionBuilder.TocEntry<T>
- All Implemented Interfaces:
- TreeBuilder.IPos<SectionBuilder.TocEntry<T>>
- Enclosing class:
- SectionBuilder<T>
protected static class SectionBuilder.TocEntry<T>
- extends Object
- implements TreeBuilder.IPos<SectionBuilder.TocEntry<T>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SectionBuilder.TocEntry
public SectionBuilder.TocEntry(int docLevel,
int level,
T data)
equalsData
public boolean equalsData(SectionBuilder.TocEntry<T> pos)
- Specified by:
equalsData in interface TreeBuilder.IPos<SectionBuilder.TocEntry<T>>
- Returns:
true if the underlying data in both positions
are the same
getPos
public int getPos()
- Specified by:
getPos in interface TreeBuilder.IPos<SectionBuilder.TocEntry<T>>
- Returns:
- the position of the node
Copyright © 2005-2009. All Rights Reserved.