Record Class EvaluationError.IntegerOutOfRange
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.evaluator.EvaluationError.IntegerOutOfRange
- Record Components:
value- the integer
- All Implemented Interfaces:
EvaluationError
- Enclosing interface:
EvaluationError
public static record EvaluationError.IntegerOutOfRange(long value)
extends Record
implements EvaluationError
An index or a slice parameter is outside the I-JSON range.
-
Nested Class Summary
Nested classes/interfaces inherited from interface EvaluationError
EvaluationError.ExtensionResultMismatch, EvaluationError.IntegerOutOfRange, EvaluationError.NodelistTooLarge, EvaluationError.QueryTooDeep, EvaluationError.RegexTooComplex, EvaluationError.SignatureMismatch, EvaluationError.UnknownFunction -
Constructor Summary
ConstructorsConstructorDescriptionIntegerOutOfRange(long value) Creates an instance of aIntegerOutOfRangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.longvalue()Returns the value of thevaluerecord component.Methods inherited from interface EvaluationError
message
-
Constructor Details
-
IntegerOutOfRange
public IntegerOutOfRange(long value) Creates an instance of aIntegerOutOfRangerecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
value
-