The
Google Collections Library 1.0
是一個新的集合型別的套件, Google 帶給您優秀且實作於 Java 5 或者更高版本. 它是自然延搌於您熟悉且愛好的Java
Collections Framework.
The Google Collections
Library 1.0 is a set of new collection types,
implementations and related goodness for Java 5 and higher, brought to
you by Google. It is a natural extension of the Java Collections Framework.
High-performance immutable
implementations of the standard collection types, for example ImmutableSet
MapMaker, a builder for concurrent hash
maps with many advanced features
Ordering, which can only be described as a
"Comparator on steroids"
Iterators and Iterables utility classes: element-based
equality, cycle, concat, partition, filter with predicate, transform
with function, and much more
Lists, Sets
and Maps utility classes: a plethora of convenient
factory methods and much more
Forwarding collections,
such as ForwardingSet, allowing you to customize collection
behavior without subclassing