* Creates an {@link IntegerVector} of the kind specified by the user.
*/
private IntegerVector createSemanticVector() {
IntegerVector v = (useSparseSemantics)
? new CompactSparseIntegerVector(vectorLength)
: new DenseIntVector(vectorLength);
return v;
}