RegexValue

public final class RegexValue


Represents a regular expression type in Firestore documents.

Summary

Public fields

final String
final String

Public constructors

RegexValue(@NonNull String pattern, @NonNull String options)

Public methods

boolean

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

int
String

Public fields

options

public final String options

pattern

public final String pattern

Public constructors

RegexValue

public RegexValue(@NonNull String pattern, @NonNull String options)

Public methods

equals

public boolean equals(Object obj)

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

Parameters
Object obj

The object to compare against.

Returns
boolean

Whether this RegexValue is equal to the provided object.

hashCode

public int hashCode()

toString

public String toString()