return result.toImmutable();
}
public ImmutableShortList collectShort(ShortFunction<? super T> shortFunction)
{
ShortArrayList result = new ShortArrayList(this.size());
this.forEach(new CollectShortProcedure<T>(shortFunction, result));
return result.toImmutable();
}