Code example for LinkedList

0
import com.google.refine.Jsonizable; 
import com.google.refine.history.HistoryEntry; 
import com.google.refine.history.HistoryProcess; 
 
public class ProcessManager implements Jsonizable { 
    protected List<Process> _processes = new LinkedList<Process>();
    protected List<Exception> _latestExceptions = null;
     
    public ProcessManager() { 
         
    } 
     
    @Override 
    public void write(JSONWriter writer, Properties options)
            throws JSONException { 
         
        writer.object();
        writer.key("processes"); writer.array();
        for (Process p : _processes) { 
            p.write(writer, options);
        }