private static Entry[] delete(Entry[] attrs,int i){
  int len=attrs.length - 1;
  Entry[] nattrs=new Entry[len];
  System.arraycopy(attrs,0,nattrs,0,i);
  System.arraycopy(attrs,i + 1,nattrs,i,len - i);
  return nattrs;
}

private static Entry [ ] delete ( Entry [ ] attrs , int i ) { int len = attrs . length - 1 ; Entry [ ] nattrs = new Entry [ len ] ; System . arraycopy ( attrs , 0 , nattrs , 0 , i ) ; System . arraycopy ( attrs , i + 1 , nattrs , i , len - i ) ; return nattrs ; }
return a new array containing all but the given element .
