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:
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
Post a Comment