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