Interface StringExtractor<T>


  • public interface StringExtractor<T>

    Extracts a String value from the input object.

    Typically the extracted String will be used as a comparable key in sorting a list of objects.

    Author:
    Daniel Sagenschneider
    • Method Detail

      • toString

        java.lang.String toString​(T object)
        Extracts the String from the Object.
        Parameters:
        object - Object to extract the String from.
        Returns:
        Extracted String.