/guava/guava/src/com/google/common/collect/Iterables.java
return false;
if ( collection1.size ( ) != collection2.size ( ) ) { return false; }
return null; } public static boolean elementsEqual(Iterable<?> iterable1, Iterable<?> iterable2) { if (iterable1 instanceof Collection && iterable2 instanceof Collection) { Collection<?> collection1 = (Collection<?>) iterable1; Collection<?> collection2 = (Collection<?>) iterable2; <extra_id_0> } return Iterators.elementsEqual(iterable1.iterator(), iterable2.iterator()); } public static String toString(Iterable<?> iterable) { return Iterators.toString(iterable.iterator()); }