@Test public void testCloneAggregate() { agg = new AggregateSum(Double.class); assertEquals(Double.class, agg.cloneAggregate().getValueType()); assertEquals(true, agg.cloneAggregate() instanceof AggregateSum); }
public IAggregate cloneAggregate() { return new AggregateSum(resultType); }
AggregateSum extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateSum(resultType); } }
AggregateSum extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateSum(resultType); } AggregateSum(Class< ? > type); }
AggregateSum extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateSum(resultType); } AggregateSum(Class< ? > type); @Override void enter(Object value, boolean filter); @Override void leave(Object value, boolean filter); @Override Object getValue(); @Override void clear(); IAggregate cloneAggregate(); @Override Class< ? > getValueType(); }
AggregateSum extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateSum(resultType); } AggregateSum(Class< ? > type); @Override void enter(Object value, boolean filter); @Override void leave(Object value, boolean filter); @Override Object getValue(); @Override void clear(); IAggregate cloneAggregate(); @Override Class< ? > getValueType();  }