> from: Henri Yandell <[EMAIL PROTECTED]> > On Wed, 23 Oct 2002, Michael A. Smith wrote: > > > LimitedList -> A List which maintains a fixed max length. > > > > usefulness? Maybe an LRUList?
Already exists. ListUtils.fixedSizeList(List) > > > typed.* a Map/List/Set wrapper which enforces the Type of the value or > > > key. So you'd do: > > > .. > > > List list = new TypedList(Integer.class) > > > .. > > > and it will throw an Exception if u pass the wrong thing in. > > > > isn't this just a ListUtils.predicatedList(p) with a predicate, p, that > > checks for the right class? > > > > maybe provide the predicate to construct such a thing? > > Kay. This needs the PredicateUtils from [pattern] sorting out, as it contains this predicate amongst many others. Stephen -- To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>
