this.tempDirectory = tempDirectory;
this.tempDirectoryFactory = tempDirectoryFactory;
	public QSequenceLineFileSystemCacheSegments(File tempDirectory, int maximumBytesInMemory, int segmentBytesSize) {		QSequenceAssert.assertTrue(segmentBytesSize >= QSequenceLineMedia.SEGMENT_ENTRY_SIZE);		QSequenceAssert.assertTrue(maximumBytesInMemory >= segmentBytesSize);		this.tempDirectory = tempDirectory;		this.maximumEntriesPerSegment = segmentBytesSize / QSequenceLineMedia.SEGMENT_ENTRY_SIZE;		this.maximumSegmentsInMemory = maximumBytesInMemory / (maximumEntriesPerSegment * QSequenceLineMedia.SEGMENT_ENTRY_SIZE);		this.segments = new ArrayList();		this.memorySegments = new LinkedList();		final QSequenceLineFileSystemCacheSegment segment = new QSequenceLineFileSystemCacheSegment(0, maximumEntriesPerSegment);		segments.add(segment);		memorySegments.add(segment);	}