Interface Printer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @ClassVersion(sourceVersion="$Id: Printer.java 1005 2022-02-03 12:40:52Z tquadrat $") @API(status=STABLE, since="0.1.0") public interface Printer

Prints a formatted message.

This is a functional interface whose functional method is printf(Locale,String,Object...).

Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: Printer.java 1005 2022-02-03 12:40:52Z tquadrat $
Since:
0.1.0
UML Diagram
UML Diagram for "org.tquadrat.foundation.lang.Printer"

UML Diagram for "org.tquadrat.foundation.lang.Printer"

UML Diagram for "org.tquadrat.foundation.lang.Printer"
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    print(Object object)
    Prints the given object instance after converting it to a String.
    default void
    printf(String message, Object... args)
    Prints the given message, using the current locale.
    void
    printf(Locale locale, String message, Object... args)
    Prints the given message.
    default void
    Prints a new-line.
    default void
    println(Object object)
    Prints the given object instance after converting it to a String, followed by a new-line.