|
Class Summary |
| EncounterUtils |
|
| EqualityEncounterCounter |
Deprecated. -- Use of WeakHashMap can't properly guarantee counts with equality semantics,
as an Object can be encounted garbage collected, then re-encountered with
no apparent history. |
| IdentityEncounterCounter |
Deprecated. use WeakIdentityEncounterCounter (name changed to emphasize for library users
that they need to understand whether implementations are weak or strong
to avoid accidental reference retention in strong counters) |
| StrongEqualityEncounterCounter |
NOTE: Use of StrongEqualityEncounterCounter will maintain a reference to any
Object it has encountered, leading potentially to memory leaks if it is
resources are not reset. |
| WeakEqualityEncounterCounter |
NOTE: Use of WeakEqualityEncounterCounter can't fully guarantee counts with equality semantics,
as an Object can be encounted garbage collected, then re-encountered with
no apparent history. |
| WeakIdentityEncounterCounter |
|