MCPcopy Create free account
hub / github.com/BaseXdb/basex / index

Method index

basex-core/src/main/java/org/basex/util/Checks.java:37–37  ·  view source on GitHub ↗

Returns the index of the first successful check. @param values values to check @return index, -1 otherwise

(final Iterable<T> values)

Source from the content-addressed store, hash-verified

35 * @return index, {@code -1} otherwise
36 */
37 default int index(final Iterable<T> values) {
38 int i = 0;
39 for(final T value : values) {
40 if(ok(value)) return i;

Callers 15

valueIndexTestMethod · 0.65
writeMethod · 0.65
optimizeMethod · 0.65
dropMethod · 0.65
createMethod · 0.65
uriIdMethod · 0.65
deleteMethod · 0.65
closeMethod · 0.65
dropIndexMethod · 0.65
checkMethod · 0.65
buildMethod · 0.65
indexMethod · 0.65

Calls

no outgoing calls

Tested by 1

valueIndexTestMethod · 0.52