Package glide.api.models.commands.json
Class JsonArrindexOptions
- java.lang.Object
-
- glide.api.models.commands.json.JsonArrindexOptions
-
public final class JsonArrindexOptions extends java.lang.ObjectAdditional parameters forJson.arrindex(glide.api.BaseClient, java.lang.String, java.lang.String, java.lang.String)command.
-
-
Constructor Summary
Constructors Constructor Description JsonArrindexOptions(java.lang.Long start)Search using a start index (is inclusive).JsonArrindexOptions(java.lang.Long start, java.lang.Long end)Search using a start index (is inclusive) and end index (is exclusive).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]toArgs()Converts JsonArrindexOptions into a String[].
-
-
-
Constructor Detail
-
JsonArrindexOptions
public JsonArrindexOptions(java.lang.Long start)
Search using a start index (is inclusive). Defaults to0if not provided. Indices that exceed the array bounds are automatically adjusted to the nearest valid position.
-
JsonArrindexOptions
public JsonArrindexOptions(java.lang.Long start, java.lang.Long end)Search using a start index (is inclusive) and end index (is exclusive). Ifstartis greater thanend, the command returns-1to indicate that the value was not found. Indices that exceed the array bounds are automatically adjusted to the nearest valid position.
-
-