public ImmutableIntCollection collectInt(IntFunction<? super V> intFunction)
{
IntArrayList result = new IntArrayList(this.size());
this.forEach(new CollectIntProcedure<V>(intFunction, result));
return result.toImmutable();
}
public ImmutableLongCollection collectLong(LongFunction<? super V> longFunction)
{
LongArrayList result = new LongArrayList(this.size());