@Test public void testCloneAggregate() { agg = new AggregateAvg(Double.class); assertEquals(Double.class, agg.cloneAggregate().getValueType()); assertEquals(true, agg.cloneAggregate() instanceof AggregateAvg); }
public IAggregate cloneAggregate() { return new AggregateAvg(resultType); }
AggregateAvg extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateAvg(resultType); } }
AggregateAvg extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateAvg(resultType); } AggregateAvg(Class< ? > type); }
AggregateAvg extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateAvg(resultType); } AggregateAvg(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(); }
AggregateAvg extends AbstractAggregate { public IAggregate cloneAggregate() { return new AggregateAvg(resultType); } AggregateAvg(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();  }