接口 Printer<T>
- 类型参数:
T- the type of object this Printer prints
- 所有已知子接口:
Formatter<T>
- 所有已知实现类:
AbstractNumberFormatter,CurrencyStyleFormatter,CurrencyUnitFormatter,DateFormatter,InstantFormatter,MonetaryAmountFormatter,NumberStyleFormatter,PercentStyleFormatter,TemporalAccessorPrinter
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Prints objects of type T for display.
- 从以下版本开始:
- 4.0
- 作者:
- Keith Donald
-
方法概要
-
方法详细资料
-
print
Print the object of type T for display.- 参数:
object- the instance to printlocale- the current user locale- 返回:
- the printed text string
-