formattable

formattable

美  英

  • 网络可格式化磁盘

例句

If you want to provide support for using your own objects with Formatter, that's where the Formattable interface comes into play.

如果希望用Formatter提供对自己的对象的支持,那么就要用到Formattable接口。

Listing 7 demonstrates the use of the Formattable interface by providing a simple class with a name property.

清单7演示了通过提供一个具有name属性的简单类来使用Formattable接口。

Listing 7. Example formattable usage

清单7.formattable使用示例