Uses of Interface org.neo4j.helpers.Function (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

## Uses of Interface
org.neo4j.helpers.Function

- Packages that use Function
  Package | Description
  --- | ---
  org.neo4j.graphdb.config | Configuration.
  org.neo4j.helpers | Common Java utilities.
  org.neo4j.helpers.collection | Collections utilities - Iterator/Iterable utilities and creating `Map`s.

- - ### Uses of Function in org.neo4j.graphdb.config

    Subinterfaces of Function in org.neo4j.graphdb.config
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Setting<T>` Settings that can be provided in configurations are represented by instances of this interface, and are available as static fields in various *Settings classes, such as `GraphDatabaseSettings`.

  - ### Uses of Function in org.neo4j.helpers

    Fields in org.neo4j.helpers declared as Function
    Modifier and Type | Field and Description
    --- | ---
    `static Function<String,Boolean>` | Settings.`BOOLEAN`
    `static Function<String,Long>` | Settings.`BYTES`
    `static Function<String,String>` | Strings.`decamelize`
    `static Function<byte[],String>` | UTF8.`decode`
    `static Function<String,Double>` | Settings.`DOUBLE`
    `static Function<String,Long>` | Settings.`DURATION`
    `static Function<String,byte[]>` | UTF8.`encode`
    `static Function<String,Float>` | Settings.`FLOAT`
    `static Function<String,HostnamePort>` | Settings.`HOSTNAME_PORT`
    `static Function<String,Integer>` | Settings.`INTEGER`
    `static Function<String,Long>` | Settings.`LONG`
    `static Function<String,Long>` | Settings.`LONG_WITH_OPTIONAL_UNIT` For values such as: 100M ==> 100 * 1024 * 1024 37261 ==> 37261 2g ==> 2 * 1024 * 1024 * 1024 50m ==> 50 * 1024 * 1024 10k ==> 10 * 1024
    `static Function<String,Long>` | TimeUtil.`parseTimeMillis`
    `static Function<String,File>` | Settings.`PATH`
    `static Function<String,String>` | Settings.`STRING`
    `static Function<Object,String>` | Functions.`TO_STRING`
    `static Function<String,URI>` | Settings.`URI`

    Fields in org.neo4j.helpers with type parameters of type Function
    Modifier and Type | Field and Description
    --- | ---
    `static Function2<File,Function<String,String>,File>` | Settings.`isDirectory`
    `static Function2<File,Function<String,String>,File>` | Settings.`isFile`
    `static Function2<URI,Function<String,String>,URI>` | Settings.`normalize`
    `static Function2<Integer,Function<String,String>,Integer>` | Settings.`port`
    `static Function2<String,Function<String,String>,String>` | Settings.`toLowerCase`

    Methods in org.neo4j.helpers that return Function
    Modifier and Type | Method and Description
    --- | ---
    `static <FROM,TO> Function<FROM,TO>` | Functions.`cast(Class<TO> to)`
    `static <From,To> Function<From,To>` | Functions.`constant(To value)`
    `static <T> Function<String,List<T>>` | Settings.`list(String separator, Function<String,T> itemParser)`
    `static <From,To> Function<From,To>` | Functions.`map(Map<From,To> map)`
    `static <From,To> Function<From,To>` | Functions.`nullFunction()`
    `static <T extends Enum> Function<String,T>` | Settings.`options(Class<T> enumClass)`
    `static <T> Function<String,T>` | Settings.`options(Iterable<T> optionValues)`
    `static <T> Function<String,T>` | Settings.`options(T... optionValues)`
    `static Function<URI,String>` | Uris.`parameter(String name)` Extract a named parameter from the query of a URI.
    `static <From,To> Function<From,To>` | Functions.`withDefaults(Function<From,To> defaults, Function<From,To> f)`

    Methods in org.neo4j.helpers that return types with arguments of type Function
    Modifier and Type | Method and Description
    --- | ---
    `static Function2<File,Function<String,String>,File>` | Settings.`basePath(Setting<File> baseSetting)`
    `static <From,From2,To> Function2<Function<From,From2>,Function<From2,To>,Function<From,To>>` | Functions.`compose()`
    `static <From,From2,To> Function2<Function<From,From2>,Function<From2,To>,Function<From,To>>` | Functions.`compose()`
    `static <From,From2,To> Function2<Function<From,From2>,Function<From2,To>,Function<From,To>>` | Functions.`compose()`
    `static <T> Function2<T,Function<String,String>,T>` | Settings.`illegalValueMessage(String message, Function2<T,Function<String,String>,T> valueFunction)`
    `static Function2<String,Function<String,String>,String>` | Settings.`matches(String regex)`
    `static <T extends Comparable<T>> Function2<T,Function<String,String>,T>` | Settings.`max(T max)`
    `static <T extends Comparable<T>> Function2<T,Function<String,String>,T>` | Settings.`min(T min)`
    `static <T extends Comparable<T>> Function2<T,Function<String,String>,T>` | Settings.`range(T min, T max)`

    Methods in org.neo4j.helpers with parameters of type Function
    Modifier and Type | Method and Description
    --- | ---
    `T` | Settings.DefaultSetting.`apply(Function<String,String> settings)`
    `String` | Settings.DefaultSetting.`defaultLookup(Function<String,String> settings)`
    `static <T> Function<String,List<T>>` | Settings.`list(String separator, Function<String,T> itemParser)`
    `String` | Settings.DefaultSetting.`lookup(Function<String,String> settings)`
    `static <T> Setting<T>` | Settings.`setting(String name, Function<String,T> parser, Setting<T> inheritedSetting)`
    `static <T> Setting<T>` | Settings.`setting(String name, Function<String,T> parser, String defaultValue)`
    `static <T> Setting<T>` | Settings.`setting(String name, Function<String,T> parser, String defaultValue, Function2<T,Function<String,String>,T>... valueConverters)`
    `static <T> Setting<T>` | Settings.`setting(String name, Function<String,T> parser, String defaultValue, Setting<T> inheritedSetting, Function2<T,Function<String,String>,T>... valueConverters)`
    `static <FROM,TO> Predicate<FROM>` | Predicates.`translate(Function<FROM,TO> function, Predicate<? super TO> specification)`
    `static <From,To> Function<From,To>` | Functions.`withDefaults(Function<From,To> defaults, Function<From,To> f)`
    `static <From,To> Function<From,To>` | Functions.`withDefaults(Function<From,To> defaults, Function<From,To> f)`

    Method parameters in org.neo4j.helpers with type arguments of type Function
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Function2<T,Function<String,String>,T>` | Settings.`illegalValueMessage(String message, Function2<T,Function<String,String>,T> valueFunction)`

    Constructors in org.neo4j.helpers with parameters of type Function
    Constructor and Description
    `Settings.DefaultSetting(String name, Function<String,T> parser, Function<Function<String,String>,String> valueLookup, Function<Function<String,String>,String> defaultLookup, Function2<T,Function<String,String>,T>... valueConverters)`
    `Settings.DefaultSetting(String name, Function<String,T> parser, Function<Function<String,String>,String> valueLookup, Function<Function<String,String>,String> defaultLookup, Function2<T,Function<String,String>,T>... valueConverters)`
    `Settings.DefaultSetting(String name, Function<String,T> parser, Function<Function<String,String>,String> valueLookup, Function<Function<String,String>,String> defaultLookup, Function2<T,Function<String,String>,T>... valueConverters)`

    Constructor parameters in org.neo4j.helpers with type arguments of type Function
    Constructor and Description
    `Settings.DefaultSetting(String name, Function<String,T> parser, Function<Function<String,String>,String> valueLookup, Function<Function<String,String>,String> defaultLookup, Function2<T,Function<String,String>,T>... valueConverters)`
    `Settings.DefaultSetting(String name, Function<String,T> parser, Function<Function<String,String>,String> valueLookup, Function<Function<String,String>,String> defaultLookup, Function2<T,Function<String,String>,T>... valueConverters)`

  - ### Uses of Function in org.neo4j.helpers.collection

    Fields in org.neo4j.helpers.collection declared as Function
    Modifier and Type | Field and Description
    --- | ---
    `static Function<Enum,String>` | IteratorUtil.`ENUM_NAME` Function for converting Enum to String

    Methods in org.neo4j.helpers.collection that return Function
    Modifier and Type | Method and Description
    --- | ---
    `static <FROM,TO> Function<FROM,TO>` | Iterables.`cast()`
    `static <T> Function<Iterable<T>,Iterable<T>>` | Iterables.`limit(int limitItems)`

    Methods in org.neo4j.helpers.collection with parameters of type Function
    Modifier and Type | Method and Description
    --- | ---
    `static <FROM,TO> Iterator<TO>` | Iterables.`flatMap(Function<? super FROM,? extends Iterator<TO>> function, Iterator<FROM> from)`
    `static <FROM,TO> Iterable<TO>` | Iterables.`map(Function<? super FROM,? extends TO> function, Iterable<FROM> from)`
    `static <FROM,TO> Iterator<TO>` | Iterables.`map(Function<? super FROM,? extends TO> function, Iterator<FROM> from)`
    `static <T,S extends Comparable> Iterable<T>` | Iterables.`sort(Iterable<T> iterable, Function<T,S> compareFunction)`

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.