Record Class LogicalExpression.And
java.lang.Object
java.lang.Record
ca.marcusdunn.jsonlens.path.core.query.LogicalExpression.And
- Record Components:
operands- two or more operands
- All Implemented Interfaces:
LogicalExpression
- Enclosing interface:
LogicalExpression
public static record LogicalExpression.And(List<LogicalExpression> operands)
extends Record
implements LogicalExpression
A conjunction:
a && b && ....-
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.operands()Returns the value of theoperandsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
And
Makes a conjunction.- Parameters:
operands- two or more operands
-
-
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). -
operands
-