Class BooleanAttributeFilter

    • Constructor Detail

      • BooleanAttributeFilter

        public BooleanAttributeFilter​(LogView view,
                                      Attribute attribute,
                                      boolean keepTrue,
                                      boolean keepFalse)
        keeps events if the attribute value is true if keepTrue is set and if the value is false if keepFalse is set.
        Parameters:
        view -
        attribute - The attribute to be checked for each event. Note that this has to be a boolean attribute, i.e. the type should be Attribute.BOOL, otherwise results are unpredictable
        isEventAttribute -
        min -
        max -
        inverted -
    • Method Detail

      • keepEvent

        public boolean keepEvent​(LogView view,
                                 int traceIndex,
                                 int eventIndex)