OSDN Git Service

56eb169444020cecdfd68e93ea526a8d3d5d9c99
[android-x86/packages-apps-Eleven.git] / src / com / cyngn / eleven / sectionadapter / SectionListContainer.java
1 /*
2  * Copyright (C) 2014 Cyanogen, Inc.
3  */
4 package com.cyngn.eleven.sectionadapter;
5
6 import java.util.List;
7 import java.util.TreeMap;
8
9 /**
10  * Simple Container that contains a list of T items as well as the map of section information
11  * @param <T> the type of item that the list contains
12  */
13 public class SectionListContainer<T> {
14     public TreeMap<Integer, String> mSectionIndices;
15     public List<T> mListResults;
16
17     public SectionListContainer(TreeMap<Integer, String> sectionIndices, List<T> results) {
18         mSectionIndices = sectionIndices;
19         mListResults = results;
20     }
21 }