de.yourinspiration.jexpresso.core.Options Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jexpresso Show documentation
Show all versions of jexpresso Show documentation
A java web framework inspired by expressjs to build java web application with minimal effort
package de.yourinspiration.jexpresso.core;
import java.util.HashMap;
import java.util.Map;
public class Options {
private final Map map = new HashMap<>();
public Options() {
}
public Options(String name, Object value) {
map.put(name, value);
}
public Options add(String name, Object value) {
map.put(name, value);
return this;
}
public Map create() {
return map;
}
}