Bimap
Google コレクションのインスタンスを作成するにはどうすればよいですか?
質問Java: Instantiate Google Collection's HashBiMapを読みました
私のコードのサンプル
import com.google.common.collect.BiMap;
public class UserSettings {
private Map<String, Integer> wordToWordID;
UserSettings() {
this.wordToWordID = new BiMap<String. Integer>();
私は得るcannot instantiate the type BiMap<String, Integer>
。