The children
property of the TrieNode object, which is a Map containing string keys and
TrieNode values.
The function sets the value of the _children
property of a TrieNode object.
The value parameter is a Map object that represents the children of a TrieNode. The keys of the map are strings, which represent the characters that are associated with each child TrieNode. The values of the map are TrieNode objects, which represent the child nodes of the current TrieNode.
The function returns a boolean value indicating whether a certain condition is met.
The method is returning a boolean value, specifically the value of the variable _isEnd
.
The function sets the value of the "_isEnd" property.
The value parameter is a boolean value that indicates whether the current state is the end state or not.
The function returns the value of the protected variable _key.
The value of the _key
property, which is a string.
The above function sets the value of a protected variable called "key".
The value parameter is a string that represents the value to be assigned to the key.
The function returns the children of a TrieNode as a Map.