Java Code Examples for org.apache.commons.collections.CollectionUtils.transform()

The following are Jave code examples for showing how to use transform() of the org.apache.commons.collections.CollectionUtils class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: ctsms   File: IDVO.java   View Source Code Vote up 5 votes
public static void transformVoCollection(Collection<?> vos) {
	if (vos != null) {
		CollectionUtils.transform(vos, new Transformer() {

			@Override
			public Object transform(Object input) {
				return transformVo(input);
			}
		});
	}
}
 
Example 2
Project: ctsms   File: NoShortcutSerializationWrapper.java   View Source Code Vote up 5 votes
public static void transformVoCollection(Collection vos) {
	if (vos != null) {
		CollectionUtils.transform(vos, new Transformer() {

			@Override
			public Object transform(Object input) {
				return new NoShortcutSerializationWrapper((Serializable) input);
			}
		});
	}
}