You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2015/12/14 18:23:09 UTC

svn commit: r1719966 - /felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/builder/lambda/Functions.java

Author: pderop
Date: Mon Dec 14 17:23:09 2015
New Revision: 1719966

URL: http://svn.apache.org/viewvc?rev=1719966&view=rev
Log:
Removed unused functions.

Modified:
    felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/builder/lambda/Functions.java

Modified: felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/builder/lambda/Functions.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/builder/lambda/Functions.java?rev=1719966&r1=1719965&r2=1719966&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/builder/lambda/Functions.java (original)
+++ felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda/src/org/apache/felix/dm/builder/lambda/Functions.java Mon Dec 14 17:23:09 2015
@@ -67,79 +67,7 @@ public class Functions {
 	        };
 	    }
 	}
-		
-	/**
-	 * A function that accepts three input arguments and returns no result.
-	 */
-	@FunctionalInterface
-	public interface Consumer3<T, U, V> extends SerializableLambda {
-	    /**
-	     * Performs this operation on the given arguments.
-	     *
-	     * @param t the first input argument
-	     * @param u the second input argument
-	     */
-	    void accept(T t, U u, V v);
-
-	    /**
-	     * Returns a composed {@code BiConsumer} that performs, in sequence, this
-	     * operation followed by the {@code after} operation.
-	     */
-	    default Consumer3<T, U, V> andThen(Consumer3<? super T, ? super U, ? super V> after) {
-	        Objects.requireNonNull(after);
-	        return (t, u, v) -> {
-	            accept(t, u, v);
-	            after.accept(t, u, v);
-	        };
-	    }
-	}
-		
-	/**
-	 * A function that accepts four input arguments and returns no result.
-	 */
-	@FunctionalInterface
-	public interface Consumer4<T, U, V, W> extends SerializableLambda {
-	    /**
-	     * Performs this operation on the given arguments.
-	     */
-	    void accept(T t, U u, V v, W w);
-
-	    /**
-	     * Returns a composed {@code BiConsumer} that performs, in sequence, this
-	     * operation followed by the {@code after} operation.
-	     */
-	    default Consumer4<T, U, V, W> andThen(Consumer4<? super T, ? super U, ? super V, ? super W> after) {
-	        Objects.requireNonNull(after);
-	        return (t, u, v, w) -> {
-	            accept(t, u, v, w);
-	            after.accept(t, u, v, w);
-	        };
-	    }
-	}
-		
-	/**
-	 * A function that accepts six input arguments and returns no result.
-	 */
-	@FunctionalInterface
-	public interface Consumer6<T, U, V, W, X, Y> extends SerializableLambda {
-	    /**
-	     * Performs this operation on the given arguments.
-	     */
-	    void accept(T t, U u, V v, W w, X x, Y y);
-
-	    /**
-	     * Returns a composed {@code BiConsumer} that performs, in sequence, this
-	     * operation followed by the {@code after} operation.
-	     */
-	    default Consumer6<T, U, V, W, X, Y> andThen(Consumer6<? super T, ? super U, ? super V, ? super W, ? super X, ? super Y> after) {
-	        Objects.requireNonNull(after);
-	        return (t, u, v, w, x, y) -> {
-	            accept(t, u, v, w, x, y);
-	            after.accept(t, u, v, w, x, y);
-	        };
-	    }
-	}
-		
+				
 	/**
 	 * Defines a reference on a bind method from an object instance. The bind method takes a service parameter.
 	 * @param <T> the type of the parameter passed to the callback method.