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

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -