Map to obtain Set behaviour. This class is used to create a Set with the same properties as the key set of any map. Thus, a ReferenceSet can be created by wrapping a ReferenceMap in an instance of this class.
Most map implementation can be used to create a set by passing in dummy values. Exceptions include BidiMap implementations, as they require unique values.
@since 3.1
@version $Id: MapBackedSet.java 1479406 2013-05-05 22:02:01Z tn $
| |
| |
| |
| |
| |
| |
| |
| |