Class DistinctResultList<E>

java.lang.Object
org.apache.openjpa.kernel.DistinctResultList<E>
Type Parameters:
E - element type
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>

public class DistinctResultList<E> extends Object implements List<E>, Serializable
An immutable list that imposes uniqueness on its member. This implementation traverses the entire result list on construction. So it is not suitable or efficient for large results. All mutation operations (except clear()) throw UnsupportedOperationException.
Since:
2.0.0
Author:
Pinaki Poddar
See Also: