Class RegexValue (3.49.0)

public class RegexValue implements Serializable

Represents a regular expression type in Firestore documents.

Inheritance

Object > RegexValue

Implements

Serializable

Constructors

RegexValue(String pattern, String options)

public RegexValue(String pattern, String options)
Parameters
Name Description
pattern String
options String

Fields

options

public final String options
Field Value
Type Description
String

pattern

public final String pattern
Field Value
Type Description
String

Methods

equals(Object obj)

public boolean equals(Object obj)

Returns true if this RegexValue is equal to the provided object.

Parameter
Name Description
obj Object

The object to compare against.

Returns
Type Description
boolean

Whether this RegexValue is equal to the provided object.

Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides