Back to project page SymptomManagement.
The source code is released under:
Apache License
If you think the Android project SymptomManagement 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.android.capstone.patient.checkin_now.model; /*from w w w. jav a 2s . c om*/ import java.util.ArrayList; public class PageList extends ArrayList<Page> implements PageTreeNode { public PageList() { } public PageList(Page... pages) { for (Page page : pages) { add(page); } } @Override public Page findByKey(String key) { for (Page childPage : this) { Page found = childPage.findByKey(key); if (found != null) { return found; } } return null; } @Override public void flattenCurrentPageSequence(ArrayList<Page> dest) { for (Page childPage : this) { childPage.flattenCurrentPageSequence(dest); } } }