Class OperationCallEquivalence

java.lang.Object
com.google.common.base.Equivalence<OperationCall>
kieker.analysis.architecture.trace.aggregation.OperationCallEquivalence
All Implemented Interfaces:
BiPredicate<OperationCall,OperationCall>

public class OperationCallEquivalence extends com.google.common.base.Equivalence<OperationCall>
This class defines an equivalence for OperationCalls using the class Equivalence. Therefore, it provides the ability to wrap OperationCalls with adequate equals() and hashCode() methods using its #wrap(OperationCall) method. With this class, two OperationCalls are considered equal iff both belong to the same DeployedOperation, their children are also considered equal (in the same order) and - optionally - have the same failed cause.
Since:
1.14
Author:
Sören Henning
  • Constructor Details

    • OperationCallEquivalence

      public OperationCallEquivalence(boolean considerFailed)
  • Method Details

    • doEquivalent

      protected boolean doEquivalent(OperationCall operationCallA, OperationCall operationCallB)
      Specified by:
      doEquivalent in class com.google.common.base.Equivalence<OperationCall>
    • doHash

      protected int doHash(OperationCall operationCall)
      Specified by:
      doHash in class com.google.common.base.Equivalence<OperationCall>