Properties | |
---|---|
Children | IEnumerable< MutableData > Used to iterate over the immediate children at this location |
ChildrenCount | long The number of immediate children at this location. |
HasChildren | bool True if the data at this location has children, false otherwise. |
Key | string The key name of this location, or null if it is the top-most location. |
Priority | object Gets the current priority at this location. |
Value | object getValue() returns the data contained in this instance as native types. |
Public functions | |
---|---|
Child(string path) | Used to obtain a MutableData instance that encapsulates the data and priority at the given relative path. |
Equals(object o) | override bool Two MutableData are considered equal if they contain the same references and priority. |
GetHashCode() | override int Overriden to ensure two objects that are Equal have the same hash. |
HasChild(string path) | bool Determines if data exists at the given path. |
ToString() | override string Representation of the mutable data as a string containing a key, value pair. |
IEnumerable<MutableData>Children
Used to iterate over the immediate children at this location
Used to iterate over the immediate children at this location
Details | |
---|---|
Returns | The immediate children at this location |
longChildrenCount
The number of immediate children at this location.
boolHasChildren
True if the data at this location has children, false otherwise.
stringKey
The key name of this location, or null if it is the top-most location.
objectPriority
Gets the current priority at this location.
Gets the current priority at this location. The possible return types are:
Details | |
---|---|
Returns | The priority at this location as a native type |
objectValue
getValue() returns the data contained in this instance as native types.
getValue() returns the data contained in this instance as native types. The possible types returned are:
Details | |
---|---|
Returns | The data contained in this instance as native types |
MutableDataChild(stringpath)
Used to obtain a MutableData instance that encapsulates the data and priority at the given relative path.
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | An instance encapsulating the data and priority at the given path |
overrideboolEquals(objecto)
Two MutableData are considered equal if they contain the same references and priority.
overrideintGetHashCode()
Overriden to ensure two objects that are Equal have the same hash.
boolHasChild(stringpath)
Determines if data exists at the given path.
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | True if data exists at the given path, otherwise false |
overridestringToString()
Representation of the mutable data as a string containing a key, value pair.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.