Package org.apache.jmeter.report.core

# Interface SamplePredicate

All Known Implementing Classes:
  `ControllerSamplePredicate`

public interface SamplePredicate
The interface SamplePredicate represents a predicate to apply to a sample. It can be used in filtering decision.

Since:
  3.0

## Method Summary

Modifier and Type
Method
Description
`boolean`
`matches(Sample sample)`
Defines if the specified sample matches the current predicate.

## Method Details

### matches

boolean matches(Sample sample)
Defines if the specified sample matches the current predicate.

Parameters:
  `sample` - the sample to test (must not be `null`)
Returns:
  `true`, if successful; otherwise `false`