Class TraceEquivalence
java.lang.Object
com.google.common.base.Equivalence<Trace>
kieker.analysis.architecture.trace.aggregation.TraceEquivalence
- All Implemented Interfaces:
BiPredicate<Trace,Trace>
This class defines an equivalence for
Traces using the class Equivalence. Therefore,
it provides the ability to wrap Traces with adequate equals() and hashCode()
methods using its #wrap(Trace) method.
With this class, two Tracess are considered equal iff both the root OperationCall are
considered equal using the OperationCallEquivalence or a specified Equivalence.- 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 Object> -
Constructor Summary
ConstructorsConstructorDescriptionTraceEquivalence(boolean considerFailed) TraceEquivalence(com.google.common.base.Equivalence<OperationCall> operationCallEquivalence) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoEquivalent(Trace traceA, Trace traceB) protected intMethods inherited from class com.google.common.base.Equivalence
equals, equivalent, equivalentTo, hash, identity, onResultOf, pairwise, test, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or