package org.gcube.dataanalysis.dataminer.poolmanager.datamodel; import java.util.Collection; import java.util.Vector; public class AlgorithmSet { private String name; private Collection algorithms; public AlgorithmSet() { this.algorithms = new Vector<>(); ***REMOVED*** public String getName() { return name; ***REMOVED*** public void setName(String name) { this.name = name; ***REMOVED*** public Collection getAlgorithms() { return new Vector<>(algorithms); ***REMOVED*** public void addAlgorithm(Algorithm algoritm) { this.algorithms.add(algoritm); ***REMOVED*** public Boolean hasAlgorithm(Algorithm algorithm) { for (Algorithm a : this.algorithms) { if (a.getName().equals(algorithm.getName())) { return true; ***REMOVED*** ***REMOVED*** return false; ***REMOVED*** public String toString() { String out = "ALGOSET: " + this.name + "\n"; for(Algorithm a:this.algorithms) { out+=a+"\n"; ***REMOVED*** return out; ***REMOVED*** ***REMOVED***