kbrig-core
0.1.0
common
kbrig-core
/
org.anvilpowered.kbrig.suggestion
/
SuggestionsBuilder
Suggestions
Builder
class
SuggestionsBuilder
(
val
input
:
String
,
val
start
:
Int
,
inputLowerCase
:
String
=
input.lowercase()
)
Members
Constructors
Suggestions
Builder
Link copied to clipboard
constructor
(
input
:
String
,
start
:
Int
,
inputLowerCase
:
String
=
input.lowercase()
)
Properties
input
Link copied to clipboard
val
input
:
String
remaining
Lower
Case
Link copied to clipboard
val
remainingLowerCase
:
String
start
Link copied to clipboard
val
start
:
Int
Functions
add
Link copied to clipboard
fun
add
(
other
:
SuggestionsBuilder
)
:
SuggestionsBuilder
build
Link copied to clipboard
fun
build
(
)
:
Suggestions
create
Offset
Link copied to clipboard
fun
createOffset
(
start
:
Int
)
:
SuggestionsBuilder
restart
Link copied to clipboard
fun
restart
(
)
:
SuggestionsBuilder
suggest
Link copied to clipboard
@
JvmOverloads
fun
suggest
(
value
:
Int
,
tooltip
:
String
?
=
null
)
:
SuggestionsBuilder
@
JvmOverloads
fun
suggest
(
text
:
String
,
tooltip
:
String
?
=
null
)
:
SuggestionsBuilder