/*
 * Copyright 2009-2014 Marcelo Guimarães
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *           http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package tools.devnull.trugger;

/**
 * Interface that defines the final state of a request language. In this state,
 * the request result is returned based on the configurations provided before
 * plus the target specified at this time.
 * 
 * @author Marcelo Guimarães
 * @param <Value>
 *          the result object type
 * @param <Target>
 *          the target type
 */
@FunctionalInterface
public interface Result<Value, Target> {
  
  /**
   * Computes the request based on the given target and previous configurations.
   * 
   * @param target
   *          the target for compute the request.
   * @return the result.
   */
  Value in(Target target);
  
}

@@ -890,20 +890,16 @@
 param %3CV
-alue
 %3E%0A *    
@@ -939,21 +939,16 @@
 param %3CT
-arget
 %3E%0A *    
@@ -1023,20 +1023,11 @@
 lt%3CV
-alue, Target
+, T
 %3E %7B%0A
@@ -1229,22 +1229,13 @@
 %0A  V
-alue
  in(T
-arget
  tar

short the generic type names