Package io.perfmark
Interface StringFunction<T>
-
- Type Parameters:
T- The type to turn into a String.
- All Superinterfaces:
java.util.function.Function<T,java.lang.String>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface StringFunction<T> extends java.util.function.Function<T,java.lang.String>This interface is equivalent tojava.util.function.Function. It is here as a compatibility shim to make PerfMark compatible with Java 6. This will likely be removed if PerfMark picks Java 8 as the minimum support version. SeePerfMarkfor expected usage.- Since:
- 0.22.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringapply(T t)Takes the given argument and produces a String.
-