package dataBase;

import java.awt.image.BufferedImage;
import java.io.File;
import java.util.ArrayList;

import dataBase.search.DataList;

public class PictureBuffer {
	
	public static int bufferSize;
	public static int bufferTolerance;
	
	static PictureBufferElementComparator comp = new PictureBufferElementComparator();
	DataList<PictureBufferElement> buffer;
	
	public PictureBuffer(){
		buffer = new DataList<PictureBufferElement>(bufferSize, comp);
		buffer.tolerance = bufferTolerance;
	}
	
	public synchronized BufferedImage getPicture(File f){
		
		ArrayList<PictureBufferElement> list = buffer.dataList;
		
		for(PictureBufferElement el : list){
			
		}
		
		
		return null;
		
	}
	
}
