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

io.continual.util.data.exprEval.MapDataSource Maven / Gradle / Ivy

There is a newer version: 0.3.14
Show newest version
package io.continual.util.data.exprEval;

import java.util.Map;

public class MapDataSource implements ExprDataSource
{
	public MapDataSource ( Map map )
	{
		fMap = map;
	}

	@Override
	public Object eval ( String label )
	{
		return fMap.get ( label );
	}

	private final Map fMap;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy