
org.snapscript.core.MapModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap Show documentation
Show all versions of snap Show documentation
Dynamic scripting for the JVM
package org.snapscript.core;
import java.util.Map;
import org.snapscript.core.Model;
public class MapModel implements Model {
private final Map model;
public MapModel(Map model) {
this.model = model;
}
@Override
public Object getAttribute(String name) {
return model.get(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy