A dictionary typically implements the methods:
get(k): if the dictionary has an entry with key , return it otherwise nullgetAll(k): returns an iterable collection of all entries with keyput(k,v): inserts into the dictionary and returns entryremove(e): removes the entry from the dictionary and returns the removed entry; an error occurs if entry is not in the dictionaryentrySet(): returns an iterable collection of the entries in the dictionary- Additional methods:
size(),isEmpty().