@Override
	public Instruction next() {
		if (hasNext()) {
			Instruction ret = nextInstruction;
			nextInstruction = null;
			return ret;
		}
		return null;
	}
@see ghidra.program.model.listing.CodeUnitIterator#next()
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/InstructionRecordIterator.java