Cloned from https://code.google.com/p/guava-libraries/