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

com.dooapp.gaedo.finders.collections.MapContainingKeyEvaluator Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package com.dooapp.gaedo.finders.collections;

import java.util.Map;

import com.dooapp.gaedo.properties.Property;

public class MapContainingKeyEvaluator extends
		AbstractBasicContainingEvaluator implements
		Evaluator {

	public MapContainingKeyEvaluator(Property field, Object contained) {
		super(field, contained);
	}

	@Override
	public boolean matches(DataType element) {
		Map value = (Map) getValue(element);
		return value.containsKey(contained);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy