public final synchronized int[] elementAt(final int id){
  if (id >= max_size) {
    return null;
  }
 else {
    final int[] rectParams=new int[4];
    System.arraycopy(items[id],0,rectParams,0,rectParams.length);
    return rectParams;
  }
}

public final synchronized int [ ] elementAt ( final int id ) { if ( id >= max_size ) { return null ; } else { final int [ ] rectParams = new int [ 4 ] ; System . arraycopy ( items [ id ] , 0 , rectParams , 0 , rectParams . length ) ; return rectParams ; } }
returns an array containing x , y , w , h of one of items [ ] [ ] elements .
