MultiDetector.Builder

public static class MultiDetector.Builder extends Object

Builder for creating MultiDetector instances.

Public Constructor Summary

Public Method Summary

MultiDetector.Builder
add(Detector<? extends Object> detector)
Adds an underlying detector.
MultiDetector
build()
Builds and returns the MultiDetector instance.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public MultiDetector.Builder add (Detector<? extends Object> detector)

Adds an underlying detector. The multi-detector takes ownership of the added detectors, and will dispose their resources when MultiDetector.release() is called.

public MultiDetector build ()

Builds and returns the MultiDetector instance.