Package | Description |
---|---|
io.github.arrayv.groovyapi |
This package defines the Groovy API.
|
Modifier and Type | Method and Description |
---|---|
RunSortBuilder |
RunSortBuilder.go(Map.Entry<String,Object>... opts)
Merge the specified options with the options map, and run the sort
|
RunSortBuilder |
RunSortBuilder.go(Map<String,Object> opts)
Merge the specified options with the options map, and run the sort
|
static RunSortBuilder |
GroovyLocals.run(Class<?> sort)
Effectively an alias for
GroovyLocals.run(SortInfo) , but designed around a special
case dealing with TimSort and DualPivotQuickSort, as Groovy loads the java.util classes instead |
static RunSortBuilder |
GroovyLocals.run(Map<String,Object> options,
Class<?> sort)
Combination of
GroovyLocals.run(Class) and GroovyLocals.run(Map, SortInfo) |
static RunSortBuilder |
GroovyLocals.run(Map<String,Object> options,
SortInfo sort)
Runs a sort, but adds the ability to pass Groovy map arguments,
e.g.:
run(BubbleSort, numbers: 2048, speed: 0.75) |
static RunSortBuilder |
GroovyLocals.run(SortInfo sort)
Prepares to run a sorting algorithm
|
RunSortBuilder |
RunSortBuilder.with(Map.Entry<String,Object>... opts)
Merge the specified options with the options map
|
RunSortBuilder |
RunSortBuilder.with(Map<String,Object> opts)
Merge the specified options with the options map
|
Copyright © 2024. All rights reserved.