package org.aac.average.java.impl;

import org.aac.average.java.impl.function.Function;
import org.aac.average.java.impl.function.FunctionParameter;
import org.aac.average.java.impl.datatypes.ConcreteInteger;

public class Average {
    public static void main(String[] args) {
        Function<Integer> average;

        average = new Function<>().addParameter(new FunctionParameter<Integer>("a"))
                                  .addParameter(new FunctionParameter<Integer>("b"));

        ConcreteInteger firstNumber = new ConcreteInteger.Builder()
                                                         .addDigit(ConcreteInteger.Digit.TWO)
                                                         .build();
        ConcreteInteger secondNumber = new ConcreteInteger.Builder()
                                                          .addDigit(ConcreteInteger.Digit.ONE)
                                                          .addDigit(ConcreteInteger.Digit.EIGHT)
                                                          .build();
    }
}

@@ -288,16 +288,24 @@
 unction%3C
+Concrete
 Integer%3E
@@ -312,16 +312,27 @@
  average
+TwoIntegers
 ;%0A%0A     
@@ -341,16 +341,27 @@
  average
+TwoIntegers
  = new F
@@ -399,32 +399,40 @@
 nctionParameter%3C
+Concrete
 Integer%3E(%22a%22))%0A 
@@ -460,24 +460,35 @@
             
+     
+      
 .addParamete
@@ -511,16 +511,24 @@
 rameter%3C
+Concrete
 Integer%3E

Change function to take ConcreteIntegers