public boolean deleteEntry(int index){
  System.arraycopy(entries,index + 1,entries,index,numEntries - index - 1);
  entries[--numEntries]=null;
  return true;
}

public boolean deleteEntry ( int index ) { System . arraycopy ( entries , index + 1 , entries , index , numEntries - index - 1 ) ; entries [ -- numEntries ] = null ; return true ; }
deletes the entry at the specified index and shifts all entries after the index to left .
