Die Methode min

... min ( ... coll ) {
  Iterator< ... > i = coll.iterator();
  T candidate = i.next();

  while(i.hasNext()) {
      T next = i.next();
      if (next.compareTo(candidate) < 0)
          candidate = next;
  }
  return candidate;
}



Johannes Waldmann 2004-11-30