*/
public static <T> MutableFloatCollection collectFloat(
Iterator<T> iterator,
FloatFunction<? super T> floatFunction)
{
MutableFloatCollection result = new FloatArrayList();
while (iterator.hasNext())
{
result.add(floatFunction.floatValueOf(iterator.next()));
}
return result;
}