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