flattree.tree
Class JumpLeaf
java.lang.Object
flattree.tree.AbstractLeaf
flattree.tree.JumpLeaf
- All Implemented Interfaces:
- Leaf
public class JumpLeaf
- extends AbstractLeaf
A Leaf
which jumps to a configured column - fails on
Leaf.write(WriteLine, State)
if the current column doesn't match.
- See Also:
setColumn(int)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JumpLeaf
public JumpLeaf()
JumpLeaf
public JumpLeaf(int column)
setColumn
public void setColumn(int column)
getColumn
public int getColumn()
writeImpl
protected void writeImpl(WriteLine line,
State state)
- Description copied from class:
AbstractLeaf
- Do the actual writing.
- Specified by:
writeImpl
in class AbstractLeaf
readImpl
protected boolean readImpl(ReadLine line,
State state)
- Description copied from class:
AbstractLeaf
- Do the actual reading.
- Specified by:
readImpl
in class AbstractLeaf
Copyright © 2011. All Rights Reserved.