mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
15.14.2012 e3b8d5e3dbf22f89d86c11def28c466ab45909e3
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Function.java
File was renamed from opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/util/Function.java
@@ -22,13 +22,18 @@
 *
 *
 *      Copyright 2009 Sun Microsystems, Inc.
 *      Portions copyright 2012 ForgeRock AS.
 */
package com.forgerock.opendj.util;
package org.forgerock.opendj.ldap;
/**
 * Functions transform input values of type {@code M} to output values of type
 * {@code N}.
 * <p>
 * A {@code Function} can be passed to an {@link AttributeParser} in order to
 * facilitate parsing of attributes. Common implementations can be found in the
 * {@link Functions} class.
 *
 * @param <M>
 *            The type of input values transformed by this function.
@@ -38,6 +43,8 @@
 *            The type of the additional parameter to this function's
 *            {@code apply} method. Use {@link java.lang.Void} for functions
 *            that do not need an additional parameter.
 * @see Functions
 * @see AttributeParser
 */
public interface Function<M, N, P> {
    /**