Guava introduces many advanced collections based on developers' experience in application development works. Given below is a list of useful collections −
Sr.No | Collection name & Description |
---|---|
1 | Multiset
An extension to Set interface to allow duplicate elements. |
2 | Multimap
An extension to Map interface so that its keys can be mapped to multiple values at a time. |
3 | BiMap
An extension to Map interface to support inverse operations. |
4 | Table
Table represents a special map where two keys can be specified in combined fashion to refer to a single value. |