Interface JsonifiableMapper<T extends org.eclipse.ditto.model.base.json.Jsonifiable>

  • Type Parameters:
    T - the type of the mapped result.
    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 JsonifiableMapper<T extends org.eclipse.ditto.model.base.json.Jsonifiable>
    Functional interface for mapping an Adaptable to JsonifiableMapper.
    • Method Detail

      • map

        T map​(Adaptable adaptable)
        Maps the given adaptable to the specified T.
        Parameters:
        adaptable - the adaptable to map.
        Returns:
        the mapped T.