Class OperationCallEquivalence

java.lang.Object
com.google.common.base.Equivalence<OperationCall>
kieker.analysis.architecture.trace.aggregation.OperationCallEquivalence
All Implemented Interfaces:
java.util.function.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
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.common.base.Equivalence

    com.google.common.base.Equivalence.Wrapper<T extends java.lang.Object>
  • Constructor Summary

    Constructors 
    Constructor Description
    OperationCallEquivalence​(boolean considerFailed)  
  • Method Summary

    Modifier and Type Method Description
    protected boolean doEquivalent​(OperationCall operationCallA, OperationCall operationCallB)  
    protected int doHash​(OperationCall operationCall)  

    Methods inherited from class com.google.common.base.Equivalence

    equals, equivalent, equivalentTo, hash, identity, onResultOf, pairwise, test, wrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.BiPredicate

    and, negate, or