Class BasePath<B> (3.1.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

NameDescription
B

Constructors

BasePath()

public BasePath()

Methods

compareTo(B other)

public int compareTo(B other)

Compare the current path lexicographically against another Path object.

Parameter
NameDescription
otherB

The path to compare to.

Returns
TypeDescription
int

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