org.omnaest.utils.structure.collection
Class CollectionUtils.IdentityElementConverter<T>
java.lang.Object
org.omnaest.utils.structure.collection.CollectionUtils.IdentityElementConverter<T>
- All Implemented Interfaces:
- CollectionUtils.ElementConverter<T,T>
- Enclosing class:
- CollectionUtils
public static class CollectionUtils.IdentityElementConverter<T>
- extends Object
- implements CollectionUtils.ElementConverter<T,T>
Does not change the type of the element and the value of the element being converted.
- Author:
- Omnaest
|
Method Summary |
T |
convert(T from)
Converts a given element into another element with the given return type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionUtils.IdentityElementConverter
public CollectionUtils.IdentityElementConverter()
convert
public T convert(T from)
- Description copied from interface:
CollectionUtils.ElementConverter
- Converts a given element into another element with the given return type.
- Specified by:
convert in interface CollectionUtils.ElementConverter<T,T>
- Returns:
Copyright © 2011. All Rights Reserved.