Class BdbCookieStore.RestrictedCollectionWrappedList<T>

java.lang.Object
org.archive.modules.fetcher.BdbCookieStore.RestrictedCollectionWrappedList<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>
Enclosing class:
BdbCookieStore

public static class BdbCookieStore.RestrictedCollectionWrappedList<T>
extends Object
implements List<T>
A List implementation that wraps a Collection. Needed because httpclient requires List<Cookie>.

This class is "restricted" in the sense that it is immutable, and also because some methods throw RuntimeException because they don't make sense in this context.