Path

class Path<T>(items: List<T>) : Iterable<T>

Created by Nicholas Eddy on 3/23/18.

Constructors

Link copied to clipboard
constructor(item: T)
constructor()
constructor(items: List<T>)

Properties

Link copied to clipboard
val bottom: T?
Link copied to clipboard
val depth: Int
Link copied to clipboard
val parent: Path<T>?
Link copied to clipboard
val top: T?

Functions

Link copied to clipboard
infix fun ancestorOf(path: Path<T>): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
operator fun get(index: Int): T
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
fun nonOverlappingStem(other: Path<T>): List<T>
Link copied to clipboard
fun overlappingRoot(other: Path<T>): Path<T>
Link copied to clipboard
operator fun plus(node: T): Path<T>
Link copied to clipboard
open override fun toString(): String