elk-util-parent/elk-util-collections/src/main/java/org/semanticweb/elk/util/collections/LinearProbing.java
static <K, V> void remove(K[] k, V[] v, int pos) {
		for (;;) {
			int next = getMovedPosition(k, pos);
			K moved = k[pos] = k[next];
			v[pos] = v[next];
			if (moved == null)
				return;
			// else
			pos = next;
		}
	}
static <K, V> void remove(K[] k, V[] v, int pos) {
		for (;;) {
			int next = getMovedPosition(k, pos);
			K moved = k[pos] = k[next];
			v[pos] = v[next];
			if (moved == null)
				return;
			// else
			pos = next;
		}
	}
static < K , V > void remove ( K [ ] k , V [ ] v , int pos ) { for ( ; ; ) { int next = getMovedPosition ( k , pos ) ; K moved = k [ pos ] = k [ next ] ; v [ pos ] = v [ next ] ; if ( moved == null ) return ; // else pos = next ; } }
Removes the element at the given position of the table and the
corresponding value at the same position, shifting, if necessary, other
elements and values so that all elements can be found by linear probing.

@param d
the array of the elements
@param pos
the position of data at which to delete the element
Removes the element at the given position of the table and the corresponding value at the same position shifting if necessary other elements and values so that all elements can be found by linear probing .