Package io.perfmark
Interface StringFunction<T>
-
- Type Parameters:
T
- The type to turn into a String.
public interface StringFunction<T>
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. SeePerfMark
for expected usage.- Since:
- 0.22.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
apply(T t)
Takes the given argument and produces a String.
-
-
-
Method Detail
-
apply
java.lang.String apply(T t)
Takes the given argument and produces a String.- Parameters:
t
- the subject to Stringify- Returns:
- the String
- Since:
- 0.22.0
-
-