Package com.helger.base.codec.impl
Class LZWCodec.LZWNode
java.lang.Object
com.helger.base.codec.impl.LZWCodec.LZWNode
- Enclosing class:
LZWCodec
A single LZW node
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChildNode(byte nIndex) getChildNode(byte[] aBuffer) This will traverse the tree until it gets to the sub node.intvoidsetChildNode(byte nIndex, LZWCodec.LZWNode aNode) toString()
-
Constructor Details
-
LZWNode
public LZWNode() -
LZWNode
public LZWNode(@Nonnegative int nTableIndex)
-
-
Method Details
-
getTableIndex
@Nonnegative public int getTableIndex() -
setChildNode
-
getChildNode
-
getChildNode
This will traverse the tree until it gets to the sub node. This will return null if the node does not exist.- Parameters:
aBuffer- The path to the node.- Returns:
- The node that resides at the data path.
-
toString
-