/** * Gets the token representation of this item in RPN * * @return the bytes applicable to this formula */ byte[] getBytes() { byte[] data = new byte[5]; data[0] = Token.NAMED_RANGE.getValueCode(); if (getParseContext() == ParseContext.DATA_VALIDATION) { data[0] = Token.NAMED_RANGE.getReferenceCode(); } IntegerHelper.getTwoBytes(index, data, 1); return data; }
/** * Gets the token representation of this item in RPN * * @return the bytes applicable to this formula */ byte[] getBytes() { byte[] data = new byte[5]; data[0] = Token.NAMED_RANGE.getValueCode(); if (getParseContext() == ParseContext.DATA_VALIDATION) { data[0] = Token.NAMED_RANGE.getReferenceCode(); } IntegerHelper.getTwoBytes(index, data, 1); return data; }