Record Class DataError.IndexOutOfBounds
java.lang.Object
java.lang.Record
com.github.darksoulq.abyssallib.common.serialization.DataError.IndexOutOfBounds
- Record Components:
index- The queried index.size- The structural collection bounds.
- All Implemented Interfaces:
DataError
- Enclosing interface:
DataError
-
Nested Class Summary
Nested classes/interfaces inherited from interface DataError
DataError.Custom, DataError.DuplicateKey, DataError.IndexOutOfBounds, DataError.InvalidFormat, DataError.MissingField, DataError.NullValue, DataError.OutOfBounds, DataError.PathAware, DataError.TypeMismatch, DataError.UnknownEnum, DataError.UnsupportedOperation -
Constructor Summary
ConstructorsConstructorDescriptionIndexOutOfBounds(int index, int size) Creates an instance of aIndexOutOfBoundsrecord 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.intindex()Returns the value of theindexrecord component.message()intsize()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IndexOutOfBounds
-
-
Method Details
-
message
-
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. -
index
-
size
-