All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fillumina.performance.producer.suite.SequenceNominator Maven / Gradle / Ivy

Go to download

Configurable tool to easily compare performances of different code snippets and to take performance telemetry of a running application.

The newest version!
package com.fillumina.performance.producer.suite;

/**
 *
 * @author Francesco Illuminati
 */
public interface SequenceNominator {
    String toString(final S sequenceItem);

    final static SequenceNominator DEFAULT =
            new SequenceNominator() {

        @Override
        public String toString(Object sequenceItem) {
            return sequenceItem == null ? "Default" : sequenceItem.toString();
        }
    };
}