return result.toImmutable();
}
public ImmutableDoubleCollection collectDouble(DoubleFunction<? super V> doubleFunction)
{
DoubleArrayList result = new DoubleArrayList(this.size());
this.forEach(new CollectDoubleProcedure<V>(doubleFunction, result));
return result.toImmutable();
}