Class BasePath<B> (3.30.0)

public abstract class BasePath<B> implements Comparable<B>

BasePath represents a path sequence in the Firestore database. It is composed of an ordered sequence of string segments.

Inheritance

java.lang.Object > BasePath<B>

Implements

Comparable<B>

Type Parameter

Name Description
B

Constructors

BasePath()

public BasePath()

Methods

compareTo(B other)

public int compareTo(B other)

Compare the current path lexicographically against another Path object.

Parameter
Name Description
other B

The path to compare to.

Returns
Type Description
int

-1 if current is less than other, 1 if current greater than other, 0 if equal