Class ListWithThumbnails<T,S>
Object
ListWithThumbnails<T,S>
- Type Parameters:
T
- list-typeS
- thumbnail input type
A list of items with an associated thumbnail-batch.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionListWithThumbnails
(List<T> list) Creates a new instance without a thumbnail batch.ListWithThumbnails
(List<T> list, ThumbnailBatch<S> thumbnailBatch) Creates a new instance with a thumbnail batch. -
Method Summary
-
Constructor Details
-
ListWithThumbnails
Creates a new instance without a thumbnail batch.- Parameters:
list
- the list of items
-
ListWithThumbnails
Creates a new instance with a thumbnail batch.- Parameters:
list
- the list of itemsthumbnailBatch
- theThumbnailBatch
associated with the list
-
-
Method Details
-
get
Gets the item at the specified index in the list.- Parameters:
arg0
- the index of the item to retrieve- Returns:
- the item at the specified index
-
size
public int size()Gets the size of the list.- Returns:
- the number of items in the list
-
getThumbnailBatch
The optional thumbnail batch associated with the list.
-