src/org/kocakosm/pitaya/collection/Iterables.java
public static boolean equal(Iterable<?> i1, Iterable<?> i2)
	{
		if (i1 == i2) {
			return true;
		}
		if (i1 == null || i2 == null) {
			return false;
		}
		return Iterators.equal(i1.iterator(), i2.iterator());
	}
public static boolean equal(Iterable<?> i1, Iterable<?> i2)
	{
		if (i1 == i2) {
			return true;
		}
		if (i1 == null || i2 == null) {
			return false;
		}
		return Iterators.equal(i1.iterator(), i2.iterator());
	}
public static boolean equal ( Iterable < ? > i1 , Iterable < ? > i2 ) { if ( i1 == i2 ) { return true ; } if ( i1 == null || i2 == null ) { return false ; } return Iterators . equal ( i1 . iterator ( ) , i2 . iterator ( ) ) ; }
Returns whether the given {@code Iterable}s contain equal elements in
the same order.

@param i1 the first {@code Iterable}.
@param i2 the second {@code Iterable}.

@return whether the given {@code Iterables} have the same content.
Returns whether the given { @code Iterable } s contain equal elements in the same order .