org.modeshape.common.function

## Class Function<T,R>

- java.lang.Object
- - org.modeshape.common.function.Function<T,R>

- Type Parameters:
    `T` - - the type of the input to the function
    `R` - - the type of the result of the function

      public abstract class Function<T,R>
      extends Object

  Represents a function that accepts one argument and produces a result.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Function()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract R` | `apply(T input)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Function

          public Function()

  - ### Method Detail

    - #### apply

          public abstract R apply(T input)

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.