Class ConstantFilter
java.lang.Object
fr.inria.rules.integraal.util.stream.filter.ConstantFilter
- All Implemented Interfaces:
Filter<Substitution>
Tests whether the values of a substitution are constants.
- Author:
- Florent Tornil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if the element must be kept, false if it must be filtered
-
Constructor Details
-
ConstantFilter
public ConstantFilter()Default constructor
-
-
Method Details
-
filter
Description copied from interface:FilterReturn true if the element must be kept, false if it must be filtered- Specified by:
filterin interfaceFilter<Substitution>- Parameters:
s- the element to check- Returns:
- true if the element must be kept, false if it must be filtered.
-