copy.pos = pos;
return copy;
}
@SuppressWarnings("unchecked")
@Override
<BUG>public <T> T getRepresentation(Class<T> clazz, Object... args) {
</BUG>
long requests = full ? responseTimes.length : pos;
if (clazz == DefaultOutcome.class) {
return (T) new DefaultOutcome(requests, errors, getMeanDuration(), getMaxDuration());

copy.pos = pos;
return copy;
}
@SuppressWarnings("unchecked")
@Override
public <T> T getRepresentation(Class<T> clazz, Statistics ownerStatistics, Object... args) {
long requests = full ? responseTimes.length : pos;
if (clazz == DefaultOutcome.class) {
return (T) new DefaultOutcome(requests, errors, getMeanDuration(), getMaxDuration());
