org.neo4j.helpers
Interface Function<From,To>

Type Parameters:
From -
To -

public interface Function<From,To>

Generic function interface to map from one type to another. This can be used with the Iterables methods to transform lists of objects.


Method Summary
 To map(From from)
          Map a single item from one type to another
 

Method Detail

map

To map(From from)
Map a single item from one type to another

Parameters:
from - the input item
Returns:
the mapped item


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.