org.omnaest.utils.structure.collection
Class ListUtils.ElementTransformerIdentitiyCast<FROM,TO>
java.lang.Object
org.omnaest.utils.structure.collection.ListUtils.ElementTransformerIdentitiyCast<FROM,TO>
- Type Parameters:
FROM - TO -
- All Implemented Interfaces:
- ListUtils.ElementTransformer<FROM,TO>
- Enclosing class:
- ListUtils
public static class ListUtils.ElementTransformerIdentitiyCast<FROM,TO>
- extends Object
- implements ListUtils.ElementTransformer<FROM,TO>
Simple ListUtils.ElementTransformer implementation which casts the given object and returns it.
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListUtils.ElementTransformerIdentitiyCast
public ListUtils.ElementTransformerIdentitiyCast()
transformElement
public TO transformElement(FROM element)
- Description copied from interface:
ListUtils.ElementTransformer
- Transforms a single element from one type into another.
- Specified by:
transformElement in interface ListUtils.ElementTransformer<FROM,TO>
- Returns:
- converted element
Copyright © 2011. All Rights Reserved.