public int[] toArray() {
		int count = 0;
		for(int i=0;i<hashtable.length;++i)
			if (hashtable[i].count != 0xffffffff)	// If not empty
				count += 1;							//   count it
		int[] res = new int[count * 2];
		int pos = 0;
		for(int i=0;i<hashtable.length;++i) {
			if (hashtable[i].count == 0xffffffff) continue;
			res[pos] = hashtable[i].hash;
			pos += 1;
			res[pos] = hashtable[i].count;
			pos += 1;
		}
		return res;
	}
Collapse IDFLookup into an int array, suitable for storage
@return int[]
Ghidra/Framework/Generic/src/main/java/generic/lsh/vector/IDFLookup.java