@@ -0,0 +1,986 @@
+package com.bignerdranch.android.criminalintent;%0A%0Aimport android.content.Context;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.UUID;%0A%0Apublic class CrimeLab %7B%0A%0A    private static CrimeLab sCrimeLab;%0A%0A    private List%3CCrime%3E mCrimes;%0A%0A    public static CrimeLab get(Context context) %7B%0A        if (sCrimeLab == null) %7B%0A            sCrimeLab = new CrimeLab(context);%0A        %7D%0A        return sCrimeLab;%0A    %7D%0A%0A    private CrimeLab(Context context) %7B%0A        mCrimes = new ArrayList%3C%3E();%0A%0A        for (int i=0; i%3C100; i++) %7B%0A            Crime crime = new Crime();%0A            crime.setTitle(%22Crime #%22 + i);%0A            crime.setSolved(i %25 2 == 0);%0A            mCrimes.add(crime);%0A        %7D%0A    %7D%0A%0A    public List%3CCrime%3E getCrimes() %7B%0A        return mCrimes;%0A    %7D%0A%0A    public Crime getCrime(UUID id) %7B%0A        for (Crime crime : mCrimes) %7B%0A            if (crime.getId().equals(id)) %7B%0A                return crime;%0A            %7D%0A        %7D%0A        return null;%0A    %7D%0A%7D%0A

Create CrimeLab model