Frames | No Frames |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructor that wraps (not copies). | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Transformer | |
Set | Factory method to create a transforming set. |
SortedSet | Factory method to create a transforming sorted set. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Transformer | |
List | Factory method to create a transforming list. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructs an ObjectGraphIterator using a root object and transformer. | |
Constructs a new TransformIterator that will use the
given iterator and transformer. |
Fields of type org.apache.commons.collections.Transformer | |
Transformer | The transformer to use |
Methods with parameter type org.apache.commons.collections.Transformer | |
void | Sets the transformer this the iterator to use. |
Methods with return type org.apache.commons.collections.Transformer | |
Transformer | Gets the transformer this iterator is using. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Transformer | |
Buffer | Factory method to create a transforming buffer. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructor that wraps (not copies). | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Transformer | |
Bag | Factory method to create a transforming bag. |
SortedBag | Factory method to create a transforming sorted bag. |
Classes implementing org.apache.commons.collections.Transformer | |
class | Transformer implementation that chains the specified transformers together. |
class | Transformer implementation that returns a clone of the input object. |
class | Transformer implementation that calls a Closure using the input object
and then returns the input. |
class | Transformer implementation that returns the same constant each time. |
class | Transformer implementation that always throws an exception. |
class | Transformer implementation that calls a Factory and returns the result. |
class | Transformer implementation that creates a new object instance by reflection. |
class | Transformer implementation that creates a new object instance by reflection. |
class | Transformer implementation that returns the value held in a specified map
using the input parameter as a key. |
class | Transformer implementation that does nothing. |
class | Transformer implementation that calls a Predicate using the input object
and then returns the input. |
class | Transformer implementation that returns the String.valueOf . |
class | Transformer implementation calls the transformer whose predicate returns true,
like a switch statement. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructor that performs no validation. | |
SwitchTransformer.SwitchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. |
Fields of type org.apache.commons.collections.Transformer | |
Transformer | Singleton predicate instance |
Transformer | Singleton predicate instance |
Transformer | Singleton predicate instance |
Transformer | Singleton predicate instance |
Transformer | Singleton instance that uses the no arg constructor |
Transformer | Returns null each time |
Methods with parameter type org.apache.commons.collections.Transformer | |
Transformer | SwitchTransformer.getInstance(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Factory method that performs validation and copies the parameter arrays. |
Closure | Factory method that performs validation. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Transformer | Factory method that performs validation. |
Transformer | Factory method that performs validation and copies the parameter array. |
Methods with return type org.apache.commons.collections.Transformer | |
Transformer | Gets the default transformer. |
Transformer | Factory returning the singleton instance. |
Transformer | Factory returning the singleton instance. |
Transformer | Factory returning the singleton instance. |
Transformer | Factory returning the singleton instance. |
Transformer | InstantiateTransformer.getInstance(Class[] paramTypes, Object[] args) Transformer method that performs validation. |
Transformer | ChainedTransformer.getInstance(Collection transformers) Create a new Transformer that calls each transformer in turn, passing the
result into the next transformer. |
Transformer | MapTransformer.getInstance(Map map) Factory to create the transformer. |
Transformer | SwitchTransformer.getInstance(Map predicatesAndTransformers) Create a new Transformer that calls one of the transformers depending
on the predicates. |
Transformer | ConstantTransformer.getInstance(Object constantToReturn) Transformer method that performs validation. |
Transformer | InvokerTransformer.getInstance(String methodName) Gets an instance of this transformer calling a specific method with no arguments. |
Transformer | InvokerTransformer.getInstance(String methodName, Class[] paramTypes, Object[] args) Gets an instance of this transformer calling a specific method with specific values. |
Transformer | Factory method that performs validation. |
Transformer | Factory method that performs validation. |
Transformer | Factory method that performs validation. |
Transformer | SwitchTransformer.getInstance(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Factory method that performs validation and copies the parameter arrays. |
Transformer | Factory method that performs validation. |
Transformer | Factory method that performs validation and copies the parameter array. |
Transformer | Gets the transformer in use. |
Transformer | Gets the transformer. |
Transformer | Gets the transformer. |
Transformer[] | Gets the transformers, do not modify the array. |
Transformer[] | Gets the transformers, do not modify the array. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructor that wraps (not copies). | |
Constructor that wraps (not copies). | |
Constructor that wraps (not copies). | |
TransformedSortedMap.TransformedSortedMap(SortedMap map, Transformer keyTransformer, Transformer valueTransformer) Constructor that wraps (not copies). |
Fields of type org.apache.commons.collections.Transformer | |
Transformer | The factory to use to construct elements |
Transformer | The transformer to use for the key |
Transformer | The transformer to use for the value |
Methods with parameter type org.apache.commons.collections.Transformer | |
Map | Factory method to create a lazily instantiated map. |
Map | Factory method to create a transforming map. |
SortedMap | Factory method to create a lazily instantiated sorted map. |
SortedMap | TransformedSortedMap.decorate(SortedMap map, Transformer keyTransformer, Transformer valueTransformer) Factory method to create a transforming sorted map. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructor that wraps (not copies). |
Fields of type org.apache.commons.collections.Transformer | |
Transformer | The transformer to use |
Methods with parameter type org.apache.commons.collections.Transformer | |
Collection | Factory method to create a transforming collection. |
Constructors with parameter type org.apache.commons.collections.Transformer | |
Constructs an instance with the given Transformer and a
ComparableComparator . | |
Constructs an instance with the given Transformer and Comparator. |
Fields of type org.apache.commons.collections.Transformer | |
Transformer | The transformer being used. |
Methods with parameter type org.apache.commons.collections.Transformer | |
Closure | Creates a Closure that calls a Transformer each time it is called. |
Predicate | Create a new Predicate that wraps a Transformer. |
Transformer | Create a new Transformer that calls two transformers, passing the result of
the first into the second. |
Transformer | Create a new Transformer that calls each transformer in turn, passing the
result into the next transformer. |
Collection | Returns a new Collection consisting of the elements of inputCollection transformed
by the given transformer. |
Collection | CollectionUtils.collect(Collection inputCollection, Transformer transformer, Collection outputCollection) Transforms all elements from inputCollection with the given transformer
and adds them to the outputCollection. |
Collection | Transforms all elements from the inputIterator with the given transformer
and adds them to the outputCollection. |
Collection | CollectionUtils.collect(Iterator inputIterator, Transformer transformer, Collection outputCollection) Transforms all elements from the inputIterator with the given transformer
and adds them to the outputCollection. |
Map | Returns a "lazy" map whose values will be created on demand. |
SortedMap | Returns a "lazy" sorted map whose values will be created on demand. |
Iterator | Gets an iterator that operates over an object graph. |
Transformer | TransformerUtils.switchTransformer(Predicate predicate, Transformer trueTransformer, Transformer falseTransformer) Create a new Transformer that calls one of two transformers depending
on the specified predicate. |
Transformer | Create a new Transformer that calls one of the transformers depending
on the predicates. |
Transformer | TransformerUtils.switchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Create a new Transformer that calls one of the transformers depending
on the predicates. |
void | Transform the collection by applying a Transformer to each element. |
Bag | Returns a transformed bag backed by the given bag. |
Buffer | Returns a transformed buffer backed by the given buffer. |
Collection | Returns a transformed bag backed by the given collection. |
Comparator | Gets a Comparator that passes transformed objects to the given comparator. |
Iterator | Gets an iterator that transforms the elements of another iterator. |
List | Returns a transformed list backed by the given list. |
Map | Returns a transformed map backed by the given map. |
Predicate | Creates a predicate that transforms the input object before passing it
to the predicate. |
Set | Returns a transformed set backed by the given set. |
SortedBag | Returns a transformed sorted bag backed by the given bag. |
SortedMap | MapUtils.transformedSortedMap(SortedMap map, Transformer keyTransformer, Transformer valueTransformer) Returns a transformed sorted map backed by the given map. |
SortedSet | Returns a transformed sorted set backed by the given set. |
Methods with return type org.apache.commons.collections.Transformer | |
Transformer | Creates a Transformer that calls a Closure each time the transformer is used. |
Transformer | Creates a Transformer that calls a Factory each time the transformer is used. |
Transformer | Creates a Transformer that calls a Predicate each time the transformer is used. |
Transformer | TransformerUtils.chainedTransformer(Collection transformers) Create a new Transformer that calls each transformer in turn, passing the
result into the next transformer. |
Transformer | Create a new Transformer that calls two transformers, passing the result of
the first into the second. |
Transformer | Create a new Transformer that calls each transformer in turn, passing the
result into the next transformer. |
Transformer | Gets a transformer that returns a clone of the input
object. |
Transformer | TransformerUtils.constantTransformer(Object constantToReturn) Creates a Transformer that will return the same object each time the
transformer is used. |
Transformer | Gets a transformer that always throws an exception. |
Transformer | BeanMap.getTypeTransformer(Class aType) Returns a transformer for the given primitive type. |
Transformer | Gets a Transformer that expects an input Class object that it will instantiate. |
Transformer | TransformerUtils.instantiateTransformer(Class[] paramTypes, Object[] args) Creates a Transformer that expects an input Class object that it will
instantiate. |
Transformer | TransformerUtils.invokerTransformer(String methodName) Gets a Transformer that invokes a method on the input object. |
Transformer | TransformerUtils.invokerTransformer(String methodName, Class[] paramTypes, Object[] args) Gets a Transformer that invokes a method on the input object. |
Transformer | TransformerUtils.mapTransformer(Map map) Creates a Transformer that uses the passed in Map to transform the input
object (as a simple lookup). |
Transformer | Gets a transformer that returns the input object. |
Transformer | Gets a transformer that always returns null. |
Transformer | Gets a transformer that returns a java.lang.String
representation of the input object. |
Transformer | TransformerUtils.switchMapTransformer(Map objectsAndTransformers) Create a new Transformer that uses the input object as a key to find the
transformer to call. |
Transformer | TransformerUtils.switchTransformer(Map predicatesAndTransformers) Create a new Transformer that calls one of the transformers depending
on the predicates. |
Transformer | TransformerUtils.switchTransformer(Predicate predicate, Transformer trueTransformer, Transformer falseTransformer) Create a new Transformer that calls one of two transformers depending
on the specified predicate. |
Transformer | Create a new Transformer that calls one of the transformers depending
on the predicates. |
Transformer | TransformerUtils.switchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Create a new Transformer that calls one of the transformers depending
on the predicates. |