return ((Leaf) node).value;
int result = ((Leaf) node).value;  return result;
  private int readToken(DecodeNode decoder) throws IOException {    DecodeNode node = decoder;    while (node instanceof Branch) {      Branch branch = (Branch) node;      node = (readBit() == 0) ? branch.zero : branch.one;    }    return ((Leaf) node).value;  }