public class GreaterIntersectionWith extends ObjectFilterPredicate
objectsGreater
than
objectsLesser
If an object intersects with neither, it still gets accepted, as both return 0
Constructor and Description |
---|
GreaterIntersectionWith() |
Modifier and Type | Method and Description |
---|---|
protected void |
end() |
ObjectCollectionProvider |
getObjectsGreater() |
ObjectCollectionProvider |
getObjectsLesser() |
protected boolean |
match(ObjectMask object,
Optional<Dimensions> dimensions)
A predicate condition for an object to be kept in the collection
|
protected boolean |
precondition(ObjectCollection objectsToFilter)
A precondition, which if evaluates to false, cancels the filter i.e.
|
void |
setObjectsGreater(ObjectCollectionProvider objectsGreater) |
void |
setObjectsLesser(ObjectCollectionProvider objectsLesser) |
protected void |
start(Optional<Dimensions> dimensions,
ObjectCollection objectsToFilter) |
filter
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected void start(Optional<Dimensions> dimensions, ObjectCollection objectsToFilter) throws OperationFailedException
start
in class ObjectFilterPredicate
OperationFailedException
protected boolean precondition(ObjectCollection objectsToFilter)
ObjectFilterPredicate
precondition
in class ObjectFilterPredicate
protected boolean match(ObjectMask object, Optional<Dimensions> dimensions) throws OperationFailedException
ObjectFilterPredicate
match
in class ObjectFilterPredicate
OperationFailedException
protected void end() throws OperationFailedException
end
in class ObjectFilterPredicate
OperationFailedException
public ObjectCollectionProvider getObjectsGreater()
public void setObjectsGreater(ObjectCollectionProvider objectsGreater)
public ObjectCollectionProvider getObjectsLesser()
public void setObjectsLesser(ObjectCollectionProvider objectsLesser)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.