public ImmutableShortSet collectShort(ShortFunction<? super T> shortFunction)
{
ShortHashSet result = new ShortHashSet(this.size());
this.forEach(new CollectShortProcedure<T>(shortFunction, result));
return result.toImmutable();
}
public <P, V> ImmutableSet<V> collectWith(Function2<? super T, ? super P, ? extends V> function, P parameter)
{
return this.collect(Functions.bind(function, parameter));