Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
オブジェクトを使用する関数を使用しようとしていEntryますが、上記のエラー メッセージが表示されます。関数は次のようになります。
Entry
public Entry<K,V> insert(K k, V v) throws InvalidKeyException { //code here }
インポートしようとしjava.util.*ましたが、うまくいきませんでした。
java.util.*
このエラー メッセージの意味と解決方法を誰かに説明してもらえますか?
の内部クラスですMap。
Map
また
import java.util.Map.Entry;
public Map.Entry<K,V> insert(K k, V v) throws InvalidKeyException { //code here }