Set for storing objects and testing their equality only using an identity match - i.e. (obj1 == obj2). Use only when caching objects in a model where identity equality is specifically required, rather than .equals equality or any of the comparisons available for DBObject and DBObjectID through the other Collection and Map implementation in this package.

For a Map implementation using the same model, simply use IdentityHashMap which actually backs this implementation.

This Set is not synchronized for a thread safe Set use Collections.synchronizedSet.