edu.iris.dmc.seed.ControlIndex Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-4-seed Show documentation
Show all versions of java-4-seed Show documentation
Java API to work with seismic dataless seed
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