@Test public void testCloneAggregate() { agg = new AggregateDistinctValueFilter(new AggregateAvg(Integer.class)); assertEquals(Long.class, agg.getValueType()); assertTrue(agg.cloneAggregate() instanceof AggregateDistinctValueFilter); }
public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)getInner()).cloneAggregate(); return new AggregateDistinctValueFilter(innerclone); }
AggregateDistinctValueFilter extends AggregateDistinctValue { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)getInner()).cloneAggregate(); return new AggregateDistinctValueFilter(innerclone); } }
AggregateDistinctValueFilter extends AggregateDistinctValue { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)getInner()).cloneAggregate(); return new AggregateDistinctValueFilter(innerclone); } AggregateDistinctValueFilter(IAggregate agg); }
AggregateDistinctValueFilter extends AggregateDistinctValue { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)getInner()).cloneAggregate(); return new AggregateDistinctValueFilter(innerclone); } AggregateDistinctValueFilter(IAggregate agg); IAggregate cloneAggregate(); @Override void enter(Object value, boolean filter); @Override void leave(Object value, boolean filter); }
AggregateDistinctValueFilter extends AggregateDistinctValue { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)getInner()).cloneAggregate(); return new AggregateDistinctValueFilter(innerclone); } AggregateDistinctValueFilter(IAggregate agg); IAggregate cloneAggregate(); @Override void enter(Object value, boolean filter); @Override void leave(Object value, boolean filter);  }