/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/am/ed/importcontacts/ContactsCache.java

  • Committer: edam
  • Date: 2012-12-18 12:56:41 UTC
  • Revision ID: tim@ed.am-20121218125641-1w4o2nrwcry1ipiz
renamed homepage to webpage

Show diffs side-by-side

added added

removed removed

1
1
/*
2
2
 * ContactsCache.java
3
3
 *
4
 
 * Copyright (C) 2011 to 2012 Tim Marston <tim@ed.am>
 
4
 * Copyright (C) 2011 Tim Marston <tim@ed.am>
5
5
 *
6
6
 * This file is part of the Import Contacts program (hereafter referred
7
7
 * to as "this program"). For more information, see
26
26
import java.util.HashMap;
27
27
import java.util.HashSet;
28
28
 
 
29
import android.app.Activity;
 
30
 
 
31
 
29
32
public class ContactsCache
30
33
{
31
34
        /**
81
84
        private HashMap< Long, HashSet< String > > _contactOrganisations
82
85
                = new HashMap< Long, HashSet< String > >();
83
86
 
 
87
        ContactsCache()
 
88
        {
 
89
                // init id lookups
 
90
//              _contactsByName = new HashMap< String, Long >();
 
91
//              _contactsByOrg = new HashMap< String, Long >();
 
92
//              _contactsByNumber = new HashMap< String, Long >();
 
93
//              _contactsByEmail = new HashMap< String, Long >();
 
94
 
 
95
                // init associated data cache
 
96
//              _contactNumbers = new HashMap< Long, HashSet< String > >();
 
97
//              _contactEmails = new HashMap< Long, HashSet< String > >();
 
98
//              _contactAddresses = new HashMap< Long, HashSet< String > >();
 
99
//              _contactOrganisations = new HashMap< Long, HashSet< String > >();
 
100
        }
 
101
 
84
102
        public static CacheIdentifier createIdentifier(
85
103
                Importer.ContactData contact )
86
104
        {