{
if (this.isEmpty())
{
throw new NoSuchElementException();
}
FloatIterator iterator = this.floatIterator();
float max = iterator.next();
while (iterator.hasNext())
{
float value = iterator.next();
if (Float.compare(max, value) < 0)
{
max = value;
}
}