ICode9

精准搜索请尝试: 精确搜索
  • Google Guava常用类-Joiner2022-08-11 10:31:52

    例: Joiner joiner = Joiner.on("; ").skipNulls(); . . . return joiner.join("Harry", null, "Ron", "Hermione"); // Harry; Ron; Hermione 如果参数有null且没有用skipNulls()或useForNull(String)会抛NullPointerExceptionA appendTo(

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有