@Test public void testCloneAggregate() { agg = new AggregateDistinctValue(new AggregateAvg(Integer.class)); assertEquals(Long.class, agg.getValueType()); assertTrue(agg.cloneAggregate() instanceof AggregateDistinctValue); }
public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)inner).cloneAggregate(); return new AggregateDistinctValue(innerclone); }
AggregateDistinctValue implements IAggregate, IAggregateClone { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)inner).cloneAggregate(); return new AggregateDistinctValue(innerclone); } }
AggregateDistinctValue implements IAggregate, IAggregateClone { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)inner).cloneAggregate(); return new AggregateDistinctValue(innerclone); } AggregateDistinctValue(IAggregate agg); }
AggregateDistinctValue implements IAggregate, IAggregateClone { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)inner).cloneAggregate(); return new AggregateDistinctValue(innerclone); } AggregateDistinctValue(IAggregate agg); @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(); IAggregate getInner(); }
AggregateDistinctValue implements IAggregate, IAggregateClone { public IAggregate cloneAggregate() { IAggregate innerclone = ((IAggregateClone)inner).cloneAggregate(); return new AggregateDistinctValue(innerclone); } AggregateDistinctValue(IAggregate agg); @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(); IAggregate getInner();  }