Package com.helger.commons.codec
Class LZWCodec.LZWNode
- java.lang.Object
-
- com.helger.commons.codec.LZWCodec.LZWNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LZWCodec.LZWNodegetChildNode(byte nIndex)LZWCodec.LZWNodegetChildNode(byte[] aBuffer)This will traverse the tree until it gets to the sub node.intgetTableIndex()voidsetChildNode(byte nIndex, LZWCodec.LZWNode aNode)StringtoString()
-
-
-
Constructor Detail
-
LZWNode
public LZWNode()
-
LZWNode
public LZWNode(@Nonnegative int nTableIndex)
-
-
Method Detail
-
getTableIndex
@Nonnegative public int getTableIndex()
-
setChildNode
public void setChildNode(@Nonnegative byte nIndex, @Nonnull LZWCodec.LZWNode aNode)
-
getChildNode
@Nullable public LZWCodec.LZWNode getChildNode(byte nIndex)
-
getChildNode
@Nullable public LZWCodec.LZWNode getChildNode(@Nonnull byte[] aBuffer)
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.
-
-