/guava/guava/src/com/google/common/collect/FluentIterable.java
return com.google.common.base.Optional.absent();
if ( !iterator.hasNext ( ) ) { return Optional.absent ( ) ; }
if (list.isEmpty()) { return Optional.absent(); } return Optional.of(list.get(list.size() - 1)); } Iterator<E> iterator = iterable.iterator(); <extra_id_0> if (iterable instanceof SortedSet) { SortedSet<E> sortedSet = (SortedSet<E>) iterable; return Optional.of(sortedSet.last()); } while (true) { E current = iterator.next();