public boolean test() throws LRException { try { if (value.isNumeric()) return value.getNumericValue() == value2.getNumericValue(); String v1 = value.getStringValue().trim(); String v2 = value2.getStringValue().trim(); return v1.equals(v2); } catch (NullPointerException e) { return false; } }
public long getNumericValue() throws LRException { return value1.getNumericValue() ^ value2.getNumericValue(); }
/** * ************************************************************************* Implement the * LHValueHolder interface. */ public void setValue(LVSpec value) throws LRException { setData(new Long(value.getNumericValue())); }
public String getStringValue() throws LRException { long n = value.getNumericValue(); return toHex16((int) (n >> 16)) + toHex16((int) (n & 0x0000ffff)); }