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

edu.iris.dmc.seed.ControlIndex Maven / Gradle / Ivy

The newest version!
package edu.iris.dmc.seed;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import edu.iris.dmc.seed.control.station.B050;

public class ControlIndex {

	private Map blockettes = new LinkedHashMap<>();

	private List stations = new ArrayList<>();

	public Blockette put(Blockette blockette) {
		if (blockette instanceof B050) {
			stations.add((B050) blockette);
		}
		return this.blockettes.put(blockette.getId(), blockette);
	}

	public List get() {
		return this.stations;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy