Mon Dec 31 15:42:09 HKT 2007
From
/weblog/google/development
google sso -
http://dystopics.dump.be[..]es-of-x-google-token-and-why-it-matters/ google ajax server api -
http://blogs.cocoondev.org/dims/archives/004722.html Tips of google chat api -
http://www.diegoparrilla.com[..]g-google-chart-api-from-server-side.html http://googlemapsapi.blogspot.com[..]ing-chart-api-in-kml-for-quick-data.html Google Collection API
Some of the most noteworthy collections are:
1) BiMap - A Map that guarantees unique values, and supports an inverse view
2) Multiset - A Collection that may contain duplicate values like a List, yet has order-independent equality like a Set. Often used to represent a histogram.
3) Multimap - Similar to Map, but may contain duplicate keys. Has subtypes SetMultimap and ListMultimap providing more specific behavior.
4) ClassToInstanceMap - A specialized Map whose keys are class literals and whose values are instances of those types.
Google has also included a number of utility classes that also work with these new collections. Some of these include:
1) Comparators - Natural order, compound, null-friendly, ad-hoc . . .
2) Iterators and Iterables - Element-based equality, cycle, concat, partition, filter with predicate, transform with function . . .
3) Lists, Sets and Maps - A plethora of convenient factory methods and much more.
4) PrimitiveArrays - "boxing"/"unboxing" of primitive arrays
5) Object.equals and hashCode - Provide built-in null-handling.
-
http://www.infoq.com/news/2007/10/collections-api
(google search)
(amazon search)