/guava/guava/src/com/google/common/collect/Iterables.java
checkNotNull( desiredType) ;checkNotNull( iterable) ;
checkNotNull ( iterable ) ;
} else if ((iterable instanceof Set)) { return ((Set<?>) iterable).contains(element) ? 1 : 0; } return Iterators.frequency(iterable.iterator(), element); } public static <T extends @Nullable Object> Iterable<T> cycle(final Iterable<T> iterable) { <extra_id_0> return new FluentIterable<T>() { @Override public Iterator<T> iterator() { return Iterators.cycle(iterable); } @Override