Back to project page UniversalAndroidAdapter.
The source code is released under:
Apache License
If you think the Android project UniversalAndroidAdapter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.krieger.libraries.entities; /* ww w . j a v a 2 s .co m*/ import java.util.ArrayList; public class HeadedList <HeaderType, ItemType>{ private HeaderType header; private ArrayList<ItemType> contents; public HeadedList(){} public HeadedList(HeaderType header, ArrayList<ItemType> contents){ this.header=header; this.contents=contents; } public void setHeader(HeaderType header) { this.header = header; } public void setContents(ArrayList<ItemType> contents) { this.contents = contents; } public HeaderType getHeader() { return header; } public ArrayList<ItemType> getContents() { return contents; } }