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