@Test(groups={"node"}) public void testGetValue() throws Exception { long value = 1; int freq = 2; int type = HuffmanNode.LEAF_32; HuffmanNode node = new HuffmanNode(value, freq, type); assertEquals(node.getValue(), value); }
protected long getValue() { return _value; }
HuffmanNode implements Comparable<HuffmanNode> { protected long getValue() { return _value; } }
HuffmanNode implements Comparable<HuffmanNode> { protected long getValue() { return _value; } protected  HuffmanNode(final long value, final int frequency, final int leafType); protected  HuffmanNode(final HuffmanNode left, final HuffmanNode right); }
HuffmanNode implements Comparable<HuffmanNode> { protected long getValue() { return _value; } protected  HuffmanNode(final long value, final int frequency, final int leafType); protected  HuffmanNode(final HuffmanNode left, final HuffmanNode right); int hashCode(); boolean equals(final Object obj); @Override int compareTo(final HuffmanNode node); }
HuffmanNode implements Comparable<HuffmanNode> { protected long getValue() { return _value; } protected  HuffmanNode(final long value, final int frequency, final int leafType); protected  HuffmanNode(final HuffmanNode left, final HuffmanNode right); int hashCode(); boolean equals(final Object obj); @Override int compareTo(final HuffmanNode node);  }