public void addSequence(DittedBitSequence pat, int pos) {
		possible.add(pat);
		if (pos == pat.getSize()) {
			if (success == null) {
				success = new ArrayList<DittedBitSequence>();
			}
			success.add(pat);
		}
	}
Add a pattern to this search sequence.  The last pattern added is the successful
match pattern.
@param pat pattern to add
@param pos position within the current set of patterns to add this pattern
Ghidra/Features/Base/src/main/java/ghidra/util/bytesearch/SequenceSearchState.java