toggle menu
doodle
0.10.3
common
switch theme
search in API
core
/
io.nacular.doodle.utils
/
Path
Path
common
class
Path
<
T
>
(
items
:
List
<
T
>
)
:
Iterable
<
T
>
Created by Nicholas Eddy on 3/23/18.
Members
Constructors
Path
Link copied to clipboard
common
constructor
(
item
:
T
)
constructor
(
)
constructor
(
items
:
List
<
T
>
)
Properties
bottom
Link copied to clipboard
common
val
bottom
:
T
?
depth
Link copied to clipboard
common
val
depth
:
Int
parent
Link copied to clipboard
common
val
parent
:
Path
<
T
>
?
top
Link copied to clipboard
common
val
top
:
T
?
Functions
ancestor
Of
Link copied to clipboard
common
infix
fun
ancestorOf
(
path
:
Path
<
T
>
)
:
Boolean
equals
Link copied to clipboard
common
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
get
Link copied to clipboard
common
operator
fun
get
(
index
:
Int
)
:
T
hash
Code
Link copied to clipboard
common
open
override
fun
hashCode
(
)
:
Int
iterator
Link copied to clipboard
common
open
operator override
fun
iterator
(
)
:
Iterator
<
T
>
non
Overlapping
Stem
Link copied to clipboard
common
fun
nonOverlappingStem
(
other
:
Path
<
T
>
)
:
List
<
T
>
overlapping
Root
Link copied to clipboard
common
fun
overlappingRoot
(
other
:
Path
<
T
>
)
:
Path
<
T
>
plus
Link copied to clipboard
common
operator
fun
plus
(
node
:
T
)
:
Path
<
T
>
to
String
Link copied to clipboard
common
open
override
fun
toString
(
)
:
String