org.diirt.datasource.timecache.query.QueryResultImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasource-timecache Show documentation
Show all versions of datasource-timecache Show documentation
Local cache for time series gathered from multiple sources.
The newest version!
/**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.datasource.timecache.query;
import java.util.ArrayList;
import java.util.List;
/**
* @author Fred Arnaud (Sopra Group) - ITER
*/
public class QueryResultImpl implements QueryResult {
private List dataList = new ArrayList();
public void addData(QueryData data) {
if (data != null)
dataList.add(data);
}
@Override
public List getData() {
return dataList;
}
}