public static boolean equalsCollection(Collection c1, Collection c2) {
		if (c1 == null && c2 == null) {
			return true;
		} else if ((c1 == null && c2 != null)
			|| (c1 != null && c2 == null)) {
			return false;
		} else if (c1.size() != c2.size()){
			return false;
		} else {
			Iterator it = c1.iterator();
			Iterator it2 = c2.iterator();
			while (it.hasNext()) {
				Object obj1 = it.next();
				Object obj2 = it2.next();
				if (!EqualsBuilder.reflectionEquals(obj1, obj2, false, Object.class)) {
					return false;
				}
			}
			return true;
        }
	}