Class DirectPropertyMapper<T extends IElement>

java.lang.Object
kieker.analysis.generic.graph.mapping.DirectPropertyMapper<T>
Type Parameters:
T - Type of elements
All Implemented Interfaces:
java.util.function.Function<T,​java.lang.String>

public final class DirectPropertyMapper<T extends IElement>
extends java.lang.Object
implements java.util.function.Function<T,​java.lang.String>
This function maps a graph element by a passed property key to the corresponding property value and returns it as string.
Since:
1.14
Author:
Sören Henning
  • Method Summary

    Modifier and Type Method Description
    java.lang.String apply​(T element)  
    static <T extends IElement>
    DirectPropertyMapper<T>
    of​(java.lang.String propertyKey)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      public java.lang.String apply​(T element)
      Specified by:
      apply in interface java.util.function.Function<T extends IElement,​java.lang.String>
    • of

      public static <T extends IElement> DirectPropertyMapper<T> of​(java.lang.String propertyKey)