Class ContinuousRangeAttributeFilter

    • Constructor Summary

      Constructors 
      Constructor Description
      ContinuousRangeAttributeFilter​(LogView view, Attribute attribute, double min, double max, boolean inverted)
      Keeps events as long as the value of the given attribute is the range [min, max] (inclusive) If inverted is set to true, then events are kept as long as the value of the given attribute is outside the range [min, max] (exclusive)
    • Constructor Detail

      • ContinuousRangeAttributeFilter

        public ContinuousRangeAttributeFilter​(LogView view,
                                              Attribute attribute,
                                              double min,
                                              double max,
                                              boolean inverted)
        Keeps events as long as the value of the given attribute is the range [min, max] (inclusive) If inverted is set to true, then events are kept as long as the value of the given attribute is outside the range [min, max] (exclusive)
        Parameters:
        view -
        attribute - The attribute to be checked for each event. Note that this has to be a continuous attribute, i.e. the type should be Attribute.CONT. Otherwise no events are filtered (or all in case inverted is true)
        isEventAttribute -
        min -
        max -
        inverted -
    • Method Detail

      • keepEvent

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