toggle menu
pprint-kotlin
1.0.0
jvm
switch theme
search in API
pprint-kotlin
/
io.exoquery.fansi
/
Trie
Trie
class
Trie
<
T
>
(
val
strings
:
List
<
Pair
<
String
,
T
>
>
)
Members
Constructors
Trie
Link copied to clipboard
constructor
(
strings
:
List
<
Pair
<
String
,
T
>
>
)
Properties
arr
Link copied to clipboard
val
arr
:
Array
<
Trie
<
T
>
?
>
max
Link copied to clipboard
val
max
:
Char
min
Link copied to clipboard
val
min
:
Char
strings
Link copied to clipboard
val
strings
:
List
<
Pair
<
String
,
T
>
>
value
Link copied to clipboard
val
value
:
T
?
Functions
invoke
Link copied to clipboard
operator
fun
invoke
(
c
:
Char
)
:
Trie
<
T
>
?
query
Link copied to clipboard
fun
query
(
input
:
CharSequence
,
index
:
Int
)
:
Pair
<
Int
,
T
>
?
Returns the length of the matching string, or -1 if not found