All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.inria.coming.core.entities.RevisionDataset Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package fr.inria.coming.core.entities;

import java.util.Collection;
import java.util.Iterator;

/**
 * 
 * @author Matias Martinez
 *
 */
public class RevisionDataset {

	Collection data = null;

	public RevisionDataset() {
		super();
	}

	public RevisionDataset(Collection data) {
		super();
		this.data = data;
	}

	public Collection getAllData() {
		return data;
	}

	public void setData(Collection data) {
		this.data = data;
	}

	public Iterator getIterator() {
		if (this.data == null)
			return null;
		return this.data.iterator();

	}

	public int size() {

		return data != null ? data.size() : 0;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy