Parent

sealed interface Parent

Inheritors

Properties

Link copied to clipboard
open val children: List<Feature>

All children of this parent

Functions

Link copied to clipboard
abstract fun byID(id: String): Feature?
Link copied to clipboard
abstract fun byName(name: String): List<Feature>
Link copied to clipboard
abstract fun children(type: String? = null): List<Feature>

All children of this parent of type type (including its synonyms), or all children if type is null.

Link copied to clipboard
abstract fun descendants(type: String? = null): Sequence<Feature>

All descendants of this parent of type type (including its synonyms) in depth-first order, or all descendants if type is null. Iterating over the descendants while modifying the topology of the tree will produce a ConcurrentModificationException (non-topological modifications are permissible). Multiple parentage will result in duplicate values

Link copied to clipboard
open operator fun iterator(): Iterator<Feature>

Iterates over children

Link copied to clipboard
abstract fun parentString(): String