org.neo4j.helpers
Interface Function<FROM,TO>

All Known Subinterfaces:
Setting<T>
All Known Implementing Classes:
GraphDatabaseSetting, GraphDatabaseSetting.BooleanSetting, GraphDatabaseSetting.DirectorySetting, GraphDatabaseSetting.DoubleSetting, GraphDatabaseSetting.FileSetting, GraphDatabaseSetting.FloatSetting, GraphDatabaseSetting.HostnamePortSetting, GraphDatabaseSetting.IntegerRangeNumberOfBytesSetting, GraphDatabaseSetting.IntegerSetting, GraphDatabaseSetting.LongSetting, GraphDatabaseSetting.NumberOfBytesSetting, GraphDatabaseSetting.OptionsSetting, GraphDatabaseSetting.PortSetting, GraphDatabaseSetting.SettingWrapper, GraphDatabaseSetting.StringSetting, GraphDatabaseSetting.TimeSpanSetting, GraphDatabaseSetting.URISetting, GraphDatabaseSettings.CacheTypeSetting, GraphDatabaseSettings.CypherParserSetting, GraphDatabaseSettings.UseMemoryMappedBuffers

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 apply(FROM from)
          Apply a value to this function
 

Method Detail

apply

TO apply(FROM from)
Apply a value to this function

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


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