public SpanPositionCheckQuery(SpanQuery match) {
   this.match = Objects.requireNonNull(match);
 }
 @Override
 public int hashCode() {
   return Objects.hash(precisionStep, shift, value, valueSize);
 }
 /**
  * Constructor.
  *
  * @param innerSet Underlying DocIdSet
  * @param acceptDocs Allowed docs, all docids not in this set will not be returned by this
  *     DocIdSet
  */
 public BitsFilteredDocIdSet(DocIdSet innerSet, Bits acceptDocs) {
   super(innerSet);
   this.acceptDocs = Objects.requireNonNull(acceptDocs, "Bits must not be null");
 }