Uses of Class
net.sf.staccatocommons.lang.CollectionBuilder

Packages that use CollectionBuilder
net.sf.staccatocommons.lang This package contains Options, SoftExceptions and null handling utilities. 
 

Uses of CollectionBuilder in net.sf.staccatocommons.lang
 

Methods in net.sf.staccatocommons.lang that return CollectionBuilder
static
<A> CollectionBuilder<A,Collection<A>>
CollectionBuilder.from(Collection<A> collection)
          Answers a new CollectionBuilder that configures a Collection
static
<A> CollectionBuilder<A,List<A>>
CollectionBuilder.listWith(A element)
          Answers a new CollectionBuilder that configures a List, with the given element already added.
static
<A> CollectionBuilder<A,Set<A>>
CollectionBuilder.setWith(A element)
          Answers a new CollectionBuilder that configures a Set, with the given element already added
static
<A> CollectionBuilder<A,SortedSet<A>>
CollectionBuilder.sortedSetWith(A element)
          Answers a new CollectionBuilder that configures a SortedSet , with the given element already added
 CollectionBuilder<A,B> CollectionBuilder.unwrap()
          Disables wrapping, which means that a built collection will be returned just as it was created.
 CollectionBuilder<A,B> CollectionBuilder.with(A element)
          Adds an element to the list
 CollectionBuilder<A,B> CollectionBuilder.withIf(A element, net.sf.staccatocommons.defs.Evaluable<? super A> evaluable)
          Adds an element to the list if it satisfies the given condition
 CollectionBuilder<A,B> CollectionBuilder.withWrapper(net.sf.staccatocommons.defs.Applicable<B,B> wrapperFunction)
          Sets the wrapper function, that is, the Applicable to apply to the resulting collection before returning it through build().
 



Copyright © 2010-2012 Staccatocommons. All Rights Reserved.