Fix bug in statistics benchmarks implementation of Knuth algorithms.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=44319466
Make TypeResolver public in Guava.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=44329762