Schnittstelle Namer<T>

Typparameter:
T - The type of object that the namer can name
Alle bekannten Implementierungsklassen:
Configuration.Namer, Named.Namer, Task.Namer

public interface Namer<T>
A namer is capable of providing a name based on some inherent characteristic of an object.
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Schnittstelle
    Beschreibung
    static class 
    A comparator implementation based on the names returned by the given namer.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    determineName(T object)
    Determines the name of the given object.
  • Methodendetails

    • determineName

      String determineName(T object)
      Determines the name of the given object.
      Parameter:
      object - The object to determine the name of
      Gibt zurück:
      The object's inherent name. Never null.
      Löst aus:
      RuntimeException - If the name cannot be determined or is null