@Experimental public class ArrayIndexRange extends Object
Uses primitive long fields so that null bounds are impossible at compile time. Unlike
Range, this type has no inclusive/exclusive semantics — array indices are always inclusive.
Primarily used with ARDELRANGE to express one or more index ranges to delete.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getLower() |
long |
getUpper() |
int |
hashCode() |
static ArrayIndexRange |
of(long lower,
long upper)
Create a bounded index range.
|
String |
toString() |
public static ArrayIndexRange of(long lower, long upper)
lower - the lower bound (inclusive).upper - the upper bound (inclusive).ArrayIndexRange.public long getLower()
public long getUpper()
Copyright © 2026 lettuce.io. All rights reserved.