public ImmutableIntSet collectInt(IntFunction<? super T> intFunction)
{
IntHashSet result = new IntHashSet(this.size());
this.forEach(new CollectIntProcedure<T>(intFunction, result));
return result.toImmutable();
}
public ImmutableLongSet collectLong(LongFunction<? super T> longFunction)
{
LongHashSet result = new LongHashSet(this.size());