ListHolder.java (511B)
1 package de.mtbnews.android.tapatalk.wrapper; 2 3 import java.util.List; 4 5 public class ListHolder<T> 6 { 7 private List<T> children; 8 public int totalCount; 9 10 public int from; 11 public int to; 12 13 /** 14 * @param children 15 * @param totalCount 16 * @param from 17 * @param to 18 */ 19 public ListHolder(List<T> children, int totalCount, int from, int to) 20 { 21 super(); 22 this.children = children; 23 this.totalCount = totalCount; 24 this.from = from; 25 this.to = to; 26 } 27 28 public List<T> getChildren() 29 { 30 return children; 31 } 32 33 }