@Override public PropertyValue execute(PropertyValue property) { reuseProperty.setLong(property.getLong() / divisor); return reuseProperty; } }
@Test public void testSetLong() throws Exception { PropertyValue p = new PropertyValue(); p.setLong(LONG_VAL_3); assertEquals(LONG_VAL_3, p.getLong()); }
setInt((Integer) value); } else if (value instanceof Long) { setLong((Long) value); } else if (value instanceof Float) { setFloat((Float) value);
aValue.setLong(a * b);
aValue.setLong(a + b);