All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.snapscript.core.MapModel Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy