com.dooapp.gaedo.finders.collections.MapContainingValueEvaluator Maven / Gradle / Ivy
package com.dooapp.gaedo.finders.collections;
import java.util.Map;
import com.dooapp.gaedo.properties.Property;
public class MapContainingValueEvaluator extends
AbstractBasicContainingEvaluator implements
Evaluator {
public MapContainingValueEvaluator(Property field, Object contained) {
super(field, contained);
}
@Override
public boolean matches(DataType element) {
Map, ?> value = (Map, ?>) getValue(element);
return value.containsValue(contained);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy