net.spy.digg
Class PagedItems<T>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by net.spy.digg.PagedItems<T>
Type Parameters:
T - the type of item.
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>, java.util.RandomAccess

public class PagedItems<T>
extends java.util.ArrayList<T>

A collection of paged items.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Method Summary
 int getCount()
          Get the number of items returned.
 int getOffset()
          Get the offset from which this PagedItems began.
 long getTimestamp()
          Get the timestamp at which the results were created.
 int getTotal()
          Get the total number of items for this search.
 java.lang.String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Method Detail

getCount

public int getCount()
Get the number of items returned.


getOffset

public int getOffset()
Get the offset from which this PagedItems began.


getTimestamp

public long getTimestamp()
Get the timestamp at which the results were created.


getTotal

public int getTotal()
Get the total number of items for this search.


toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<T>