Iterator it = arrays.iterator(); while (it.hasNext()) { Object obj = it.next(); if (obj.equals(o))
for (int i = 0; i < arrays.length; i++) { if (arrays[i].equals(o))
	public boolean contains(Object o) {		Iterator it = arrays.iterator();		while (it.hasNext()) {			Object obj = it.next();			if (obj.equals(o))				return true;		}		return false;	}