Guava 简明教程

Guava - Collections Utilities

基于开发人员在应用开发中的经验,Guava 引入了许多高级集合。下面列出了一些有用的集合:

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

MultisetAn extension to Set interface to allow duplicate elements.

2

MultimapAn extension to Map interface so that its keys can be mapped to multiple values at a time.

3

BiMapAn extension to Map interface to support inverse operations.

4

TableTable represents a special map where two keys can be specified in combined fashion to refer to a single value.