java - create method not available in ArrayListMultimap -


i trying use guava library's implementation of multimap. according guava api docs has static create() method, eclipse ide thinks doesn't though have imported required jar.

it suggests the method create() undefined type arraylistmultimap

screen shot same:

enter image description here

so google collections not same guava, although share many of same classes. create method available if use guava jar rather google-collections-0.8.jar

you can download guava jar (of version) http://mvnrepository.com/artifact/com.google.guava/guava, or alternatively maven/gradle config same place.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -