Record Class PointerError.MemberNotFound
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.pointer.PointerError.MemberNotFound
- Record Components:
parent- the pointer to the objecttoken- the member name
- All Implemented Interfaces:
PointerError
- Enclosing interface:
PointerError
public static record PointerError.MemberNotFound(JsonPointer parent, String token)
extends Record
implements PointerError
An object has no member with the name of a token.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PointerError
PointerError.DuplicateName, PointerError.IndexOutOfRange, PointerError.InvalidEscape, PointerError.InvalidFragment, PointerError.InvalidIndex, PointerError.MemberNotFound, PointerError.MissingSlash, PointerError.NotAContainer -
Constructor Summary
ConstructorsConstructorDescriptionMemberNotFound(JsonPointer parent, String token) Creates an instance of aMemberNotFoundrecord 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.parent()Returns the value of theparentrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface PointerError
message
-
Constructor Details
-
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 withObjects::equals(Object,Object). -
parent
-
token
-