public final class VectorValue implements SerializableRepresents a vector in Firestore documents. Create an instance with FieldValue#vector.
Implements
SerializableMethods
equals(Object obj)
public boolean equals(Object obj)Returns true if this VectorValue is equal to the provided object.
| Parameter | |
|---|---|
| Name | Description |
obj |
ObjectThe object to compare against. |
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether this VectorValue is equal to the provided object. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
toArray()
public double[] toArray()Returns a representation of the vector as an array of doubles.
| Returns | |
|---|---|
| Type | Description |
double[] |
A representation of the vector as an array of doubles |
toString()
public String toString()| Returns | |
|---|---|
| Type | Description |
String |
|