Optional
parent: EventMapTreeOptional
segment: stringRemove all listeners and descendent listeners for a path location. Return the node for the path location if any
Remove the listener at a path location and return it
previous
Return the direct listener to segments
if any
listeners
Assign a listener to a path location. Listener may be any type of value. Return the previous listener value if any
previous
Construct a tree root when invoked without any arguments. Children nodes are constructred internally as needed on calls to addListener()
Param: parent
Param: segment