org.catools.common.tests.CTestStateData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common.testng Show documentation
Show all versions of common.testng Show documentation
The common TestNG extensions
The newest version!
package org.catools.common.tests;
import org.catools.common.collections.CHashMap;
import java.util.Map;
public class CTestStateData extends CHashMap {
public CTestStateData() {
}
public CTestStateData(int initialCapacity, float loadFactor) {
super(initialCapacity, loadFactor);
}
public CTestStateData(int initialCapacity) {
super(initialCapacity);
}
public CTestStateData(Map extends String, ?> m) {
super(m);
}
public void updateDataState(String key, Object value) {
put(key, value);
}
public T getDataState(String key) {
return (T) get(key);
}
}