public ImmutableLongCollection collectLong(LongFunction<? super V> longFunction)
{
LongArrayList result = new LongArrayList(this.size());
this.forEach(new CollectLongProcedure<V>(longFunction, result));
return result.toImmutable();
}
public ImmutableShortCollection collectShort(ShortFunction<? super V> shortFunction)
{
ShortArrayList result = new ShortArrayList(this.size());