Record Class LogicalExpression.Not
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.core.query.LogicalExpression.Not
- Record Components:
operand- the operand
- All Implemented Interfaces:
LogicalExpression
- Enclosing interface:
LogicalExpression
public static record LogicalExpression.Not(LogicalExpression operand)
extends Record
implements LogicalExpression
A negation:
!a.-
Nested Class Summary
Nested classes/interfaces inherited from interface LogicalExpression
LogicalExpression.And, LogicalExpression.Comparison, LogicalExpression.Not, LogicalExpression.Or -
Constructor Summary
Constructors -
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.operand()Returns the value of theoperandrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Not
Creates an instance of aNotrecord class.- Parameters:
operand- the value for theoperandrecord 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 withObjects::equals(Object,Object). -
operand
-