Record Class TraceSup
java.lang.Object
java.lang.Record
org.variantsync.diffdetective.variation.tree.view.relevance.TraceSup
- All Implemented Interfaces:
Predicate<VariationNode<?,,?>> Relevance
Relevance predicate that traces a certain feature semantically within a variation tree.
This relevance predicate is the implementation of
trace_{\subseteq} in our SPLC'23 paper.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.prop4j.NodeThe field for theconfigurationrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTraceSup(org.prop4j.Node configuration) Creates an instance of aTraceSuprecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.prop4j.NodeReturns the value of theconfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleantest(VariationNode<?, ?> variationNode) toString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.variantsync.diffdetective.variation.tree.view.relevance.Relevance
computeViewNodes
-
Field Details
-
configuration
private final org.prop4j.Node configurationThe field for theconfigurationrecord component.
-
-
Constructor Details
-
TraceSup
public TraceSup(org.prop4j.Node configuration) Creates an instance of aTraceSuprecord class.- Parameters:
configuration- the value for theconfigurationrecord component
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<VariationNode<?,?>>
-
parametersToString
- Specified by:
parametersToStringin interfaceRelevance- Returns:
- The parameters set for this particular relevance predicate, as a comma-separated string (without braces).
-
getFunctionName
- Specified by:
getFunctionNamein interfaceRelevance- Returns:
- The name of this relevance predicate's type.
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
configuration
public org.prop4j.Node configuration()Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-