Eclipse
IntelliJ
NetBeans
Upload
API List
Favorites
Packages
Classes
Methods
Limit search to favorites
Recent
Register
Login
Classic Mode
Library:
Apache Jakarta Commons Collections 3.2
Package:
org.apache.commons.collections
Class
public
class
TransformerUtils
Overview
Inheritance
Members
Usage
Source
Books
Since
Commons Co
Version
$Revision:
Author(s)
Stephen Colebourne, James Carman
TransformerUtils
provides reference implementations and utilities for the Transformer functor interface. The supplied transformers are:
Invoker - returns the result of a method call on the input object
Clone - returns a clone of the input object
Constant - always returns the same object
Closure - performs a Closure and returns the input object
Predicate - returns the result of the predicate as a Boolean
Factory - returns a new object from a factory
Chained - chains two or more transformers together
Switch - calls one transformer based on one or more predicates
SwitchMap - calls one transformer looked up from a Map
Instantiate - the Class input object is instantiated
Map - returns an object from a supplied Map
Null - always returns null
NOP - returns the input object, which should be immutable
Exception - always throws an exception
StringValue - returns a
java.lang.String
representation of the input object
All the supplied transformers are Serializable.
Wiki javadoc
Use
textile entry format
.
Add your comments here.
NOTE: Usage information is based only on libraries in your favorites list.
In Constructors
In Fields
Returned by
As method parameter
Home
-
About
-
FAQ
-
Privacy
-
Contact
TransformerUtilsprovides reference implementations and utilities for the Transformer functor interface. The supplied transformers are:- Invoker - returns the result of a method call on the input object
- Clone - returns a clone of the input object
- Constant - always returns the same object
- Closure - performs a Closure and returns the input object
- Predicate - returns the result of the predicate as a Boolean
- Factory - returns a new object from a factory
- Chained - chains two or more transformers together
- Switch - calls one transformer based on one or more predicates
- SwitchMap - calls one transformer looked up from a Map
- Instantiate - the Class input object is instantiated
- Map - returns an object from a supplied Map
- Null - always returns null
- NOP - returns the input object, which should be immutable
- Exception - always throws an exception
- StringValue - returns a
All the supplied transformers are Serializable.java.lang.Stringrepresentation of the input object