Record Class CAMetadataElementMatchType.And
java.lang.Object
java.lang.Record
com.io7m.cardant.model.CAMetadataElementMatchType.And
- Record Components:
e0- The left match expressione1- The right match expression
- All Implemented Interfaces:
CAMetadataElementMatchType
- Enclosing interface:
CAMetadataElementMatchType
public static record CAMetadataElementMatchType.And(CAMetadataElementMatchType e0, CAMetadataElementMatchType e1)
extends Record
implements CAMetadataElementMatchType
The conjunction of
e0 and e1. The resulting set of metadata
elements is the intersection of those matched by both e0 and
e1.-
Nested Class Summary
Nested classes/interfaces inherited from interface CAMetadataElementMatchType
CAMetadataElementMatchType.And, CAMetadataElementMatchType.Or, CAMetadataElementMatchType.Specific -
Field Summary
Fields inherited from interface CAMetadataElementMatchType
ANYTHING -
Constructor Summary
ConstructorsConstructorDescriptionThe conjunction ofe0ande1. -
Method Summary
Modifier and TypeMethodDescriptione0()Returns the value of thee0record component.e1()Returns the value of thee1record component.final 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.
-
Constructor Details
-
And
The conjunction ofe0ande1. The resulting set of metadata elements is the intersection of those matched by bothe0ande1.- Parameters:
e0- The left match expressione1- The right match expression
-
-
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). -
e0
-
e1
-