コード例 #1
0
 public SpanPositionCheckQuery(SpanQuery match) {
   this.match = Objects.requireNonNull(match);
 }
コード例 #2
0
 @Override
 public int hashCode() {
   return Objects.hash(precisionStep, shift, value, valueSize);
 }
コード例 #3
0
 /**
  * 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");
 }