/guava/android/guava/src/com/google/common/collect/Iterables.java
} else { return ( position < list.size( ) ) ? list.get( position) : defaultValue;List<? extends T> list = Lists.cast( iterable) ;
List<? extends T> list = Lists.cast ( iterable ) ; return ( position < list.size ( ) ) ? list.get ( position ) : defaultValue; } else {
@ParametricNullness public static <T extends @Nullable Object> T get( Iterable<? extends T> iterable, int position, @ParametricNullness T defaultValue) { checkNotNull(iterable); Iterators.checkNonnegative(position); if (iterable instanceof List) { <extra_id_0> Iterator<? extends T> iterator = iterable.iterator(); Iterators.advance(iterator, position); return Iterators.getNext(iterator, defaultValue); } } @ParametricNullness