public static int find(Array array, Object object) {
	int len = array.size();
	for (int i = 1; i <= len; i++) {
	    Object tmp = array.get(i, null);
	    try {
		if (tmp != null && Operator.compare(object, tmp) == 0) return i;
	    }
	    catch (PageException e) {}
	}
	return 0;
    }
public static int find ( Array array , Object object ) { int len = array . size ( ) ; for ( int i = 1 ; i <= len ; i ++ ) { Object tmp = array . get ( i , null ) ; try { if ( tmp != null && Operator . compare ( object , tmp ) == 0 ) return i ; } catch ( PageException e ) { } } return 0 ; }
find a object in array

@param array
@param object object to find
@return position in array or 0