@Test public void testValueOf() { Assert.assertTrue(new BooleanConstant(0, true).getBool(null)); Assert.assertFalse(new BooleanConstant(0, false).getBool(null)); }
@Override public boolean getBool(Record rec) { return value; }
BooleanConstant extends BooleanFunction implements ConstantFunction { @Override public boolean getBool(Record rec) { return value; } }
BooleanConstant extends BooleanFunction implements ConstantFunction { @Override public boolean getBool(Record rec) { return value; } BooleanConstant(int position, boolean value); }
BooleanConstant extends BooleanFunction implements ConstantFunction { @Override public boolean getBool(Record rec) { return value; } BooleanConstant(int position, boolean value); @Override boolean getBool(Record rec); }
BooleanConstant extends BooleanFunction implements ConstantFunction { @Override public boolean getBool(Record rec) { return value; } BooleanConstant(int position, boolean value); @Override boolean getBool(Record rec);  }