![JAR search and dependency download from the Maven repository](/logo.png)
io.toast.tk.runtime.repository.SwingRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toast-tk-runtime Show documentation
Show all versions of toast-tk-runtime Show documentation
Toast Toolkit Runtime Module contains covers:
- Test Source Adapters
- Test Parsing
- Test Execution
- Test Report generation
The newest version!
package io.toast.tk.runtime.repository;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import io.toast.tk.core.runtime.IFeedableSwingPage;
import io.toast.tk.runtime.IRepository;
public class SwingRepository implements IRepository {
Map swingpages = new HashMap<>();
@Override
public IFeedableSwingPage get(final String entityName) {
return swingpages.get(entityName);
}
@Override
public Collection getAll() {
return swingpages.values();
}
@Override
public void add(final String entityName, final IFeedableSwingPage entity) {
swingpages.put(entityName, entity);
}
@Override
public Map getMap() {
return swingpages;
}
@Override
public void setMap(final Map map) {
this.swingpages = map;
}
@Override
public void clear() {
this.swingpages.clear();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy