public static final class FindOptions.Builder
extends java.lang.Object
FindOptions.
Builders are created by invoking FindOptions.newBuilder(). Each of the setter methods modifies
the state of the builder and returns the same instance. Builders are not thread-safe and
should not be used concurrently from multiple threads without external synchronization.
| Modifier and Type | Method and Description |
|---|---|
FindOptions |
build()
Returns a new
FindOptions instance built from the current state of this builder. |
FindOptions.Builder |
matchCase(boolean matchCase)
Specifies whether the search is case-sensitive.
|
FindOptions.Builder |
searchBackward(boolean searchBackward)
Specifies whether the search is performed backward.
|
public FindOptions.Builder matchCase(boolean matchCase)
matchCase - the flag valuepublic FindOptions.Builder searchBackward(boolean searchBackward)
searchBackward - the flag valuepublic FindOptions build()
FindOptions instance built from the current state of this builder.FindOptions instance