
org.chronos.chronodb.api.query.LongContainmentCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.chronos.chronodb.api Show documentation
Show all versions of org.chronos.chronodb.api Show documentation
Versioned data storage, embeddable and easy to use.
The newest version!
package org.chronos.chronodb.api.query;
import org.chronos.chronodb.internal.impl.query.condition.containment.LongWithinSetCondition;
import org.chronos.chronodb.internal.impl.query.condition.containment.SetWithoutLongCondition;
import java.util.Set;
public interface LongContainmentCondition extends ContainmentCondition {
public static LongContainmentCondition WITHIN = LongWithinSetCondition.INSTANCE;
public static LongContainmentCondition WITHOUT = SetWithoutLongCondition.INSTANCE;
/**
* Negates this condition.
*
* @return The negated condition.
*/
public LongContainmentCondition negate();
/**
* Applies this condition.
*
* @param elementToTest The element to check. May be null
.
* @param collectionToTestAgainst The collection to check against. null
will be treated as empty collection.
* @return true
if this condition applies, otherwise false
.
*/
public boolean applies(long elementToTest, Set collectionToTestAgainst);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy