Guava
文章平均质量分 83
davyjones2010
生活在这个世界而不知其义,如同徜徉于一座伟大的图书馆而不碰书籍。
展开
-
Guava: Joiner & Splitter
1. Joiner Comparasion between traditional approach and Guava approach: @Test public void buildStringTest() { List<String> data = Lists.newArrayList("A", "B", "C", null, "D", "...原创 2014-07-17 17:02:20 · 153 阅读 · 0 评论 -
Guava: Functional Programming with Guava
1. Function<F, T> & Functions 2. Predicate<T> & Predicates 3. Supplier<T> & Suppliers 1. Function & Functions 1> Function With Java in its curren...原创 2014-07-18 11:59:00 · 159 阅读 · 0 评论 -
Guava: Working with Collections I
1. Classes with useful static methods for working with lists, maps and sets 2. The Range class used to represent the boundaries around a continuous set of values 3. Immutable Collections 4. Bimap...原创 2014-07-19 17:25:31 · 180 阅读 · 0 评论 -
Guava: Working with Collections II
1. Table 2. ImmutableCollections 3. Comparision Chain & Range 4. Ordering 1. Table: Map<R, Map<C, V>> 1> Create table package edu.xmu.guava.collection; import stat...原创 2014-07-21 23:33:15 · 164 阅读 · 0 评论 -
Guava: Cache
1> MapMaker for creating ConcurrentMap instances. 2> CacheBuilder for creating LoadingCache and Cache instances. 3> CacheBuilderSpec for creating CacheBuilder instance from a formatted st...原创 2014-08-26 22:53:24 · 238 阅读 · 0 评论