
com.tinkerpop.gremlin.structure.Contains Maven / Gradle / Ivy
package com.tinkerpop.gremlin.structure;
import com.tinkerpop.gremlin.util.function.SBiPredicate;
import java.util.Collection;
/**
* {@link Contains} is a {@link java.util.function.BiPredicate} that evaluates whether the first object is contained within (or not
* within) the second collection object. For example:
*
*
* gremlin IN [gremlin, blueprints, furnace] == true
* gremlin NOT_IN [gremlin, rexster] == false
* rexster NOT_IN [gremlin, blueprints, furnace] == true
*
*
* @author Pierre De Wilde
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public enum Contains implements SBiPredicate
© 2015 - 2025 Weber Informatics LLC | Privacy Policy