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