Interface ResultList<I>

All Superinterfaces:
Collection<I>, Iterable<I>, List<I>, QueryResult
All Known Subinterfaces:
SqlResultList<I>
All Known Implementing Classes:
AbstractResultList, ItemResultList, UnmodifiableResultList

public interface ResultList<I>
extends QueryResult, List<I>
Return the result of a query as a list. A list has the drawback of loading the entire dataset into memory before it is returned to the client applications. This interface is therfore most useful for queries that are expected to return a small number of items.

Implementors should not allow modifications to the list.

Version:
2.0
Author:
Nicklas
Last modified
$Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $