long lastTimestamp, long currentTimestamp, SequenceIntervalCollection activeCollection) {
long lastSequence, long currentSequence, SequenceIntervalCollection activeCollection) {
	private void updateActiveIntervalCollection(			long lastTimestamp, long currentTimestamp, SequenceIntervalCollection activeCollection) {				// If the original bug instance was active during the most recent		// analysis, then extend the latest active interval to include		// the current timestamp.		boolean added = false;		if (activeCollection.contains(lastTimestamp)) {			int lastActiveIndex = activeCollection.findInterval(lastTimestamp);			if (lastActiveIndex < 0)				throw new IllegalStateException();			SequenceInterval lastActiveInterval = activeCollection.get(lastActiveIndex);						// Current timestamp should be later than any timestamp in			// the existing interval collection.			if (currentTimestamp > lastActiveInterval.getEnd()) {				SequenceInterval updatedActiveInterval =					new SequenceInterval(lastActiveInterval.getBegin(), currentTimestamp);								activeCollection.remove(lastActiveIndex);				activeCollection.add(updatedActiveInterval);								added = true;			}		}		// The original bug instance was not active during the most recent		// analysis.  However, it is active now, so just add the current timestamp.		if (!added) {			activeCollection.add(new SequenceInterval(currentTimestamp, currentTimestamp));		}	}