static int find(Object[] a, Object key) { int i; for (i=0; i