Interface IStringValueProvider.StringComparator

  • All Superinterfaces:
    java.util.Comparator<java.lang.String>
    Enclosing interface:
    IStringValueProvider

    public static interface IStringValueProvider.StringComparator
    extends java.util.Comparator<java.lang.String>
    Defines the interface for comparing individual string values. This may be necessary to define an order for elements in order to facilitate testing.
    Author:
    Holger Eichelberger
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean inTracer()
      Returns whether this comparator is used within an execution tracer used for testing.
      • Methods inherited from interface java.util.Comparator

        compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Method Detail

      • inTracer

        boolean inTracer()
        Returns whether this comparator is used within an execution tracer used for testing.
        Returns:
        true if this instance is used in a tracer, false else