The persons are stored in memory in the following ways:
1. in an ArrayList, so they can be referenced by index. This is required for iterating through them to find candidates entries that match search terms.
2. in a HashMap by person GUID. This allows for fast finding in memory a person based on their GUID.
3. in a HashMap by HDSS ID (if any). This allows for a quick check to see if a HDSS ID already exists in the list before adding a new person with a HDSS ID. @author Jim Grace
|
|