Joiner
1 | List<String> list = Lists.newArrayList("a", "b", "c", "d", "e"); |
1 | Map<String, String> testMap = Maps.newLinkedHashMap(); |
Splitter
1 | Splitter splitter = Splitter.on('|'); |
1 | String startString = "广东=粤语#广西=壮语#北京=普通话#四川=四川话"; |
来源:Getting Started with Google Guava