Class JsonRange
java.lang.Object
com.activeviam.activepivot.server.json.api.query.JsonRange
The JSON containing a range of indexes for an axis.
- Author:
- ActiveViam
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsonRange
public JsonRange(int from, int to) Creates a newJsonRangeinstance.- Parameters:
from- The first index of the range.to- The last index (excluded).
-
JsonRange
public JsonRange()
-
-
Method Details
-
getFrom
public int getFrom()The first index of the range. -
getTo
public int getTo()The last index (excluded). -
setFrom
public void setFrom(int from) The first index of the range. -
setTo
public void setTo(int to) The last index (excluded). -
equals
-
hashCode
public int hashCode() -
toString
-