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