@@ -0,0 +1,1812 @@
+/*%0A * Copyright (c) 2013 Malhar Inc. ALL Rights Reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *   http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.datatorrent.lib.math;%0A%0Aimport com.datatorrent.api.BaseOperator;%0Aimport com.datatorrent.api.DefaultOutputPort;%0Aimport com.datatorrent.api.annotation.OutputPortFieldAnnotation;%0A%0A/**%0A *  Abstract base operator defining optional double/float/long/integer output ports.  %3Cbr%3E%0A *  Duplicate port declaration in operators. %3Cbr%3E%0A */%0Apublic abstract class AbstractOutports extends BaseOperator%0A%7B%0A%09/**%0A%09 * Double type output.%0A%09 */%0A%09@OutputPortFieldAnnotation(name = %22doubleResult%22, optional = true)%0A%09public final transient DefaultOutputPort%3CDouble%3E doubleResult = new DefaultOutputPort%3CDouble%3E();%0A%0A%09/**%0A%09 * Float type output.%0A%09 */%0A%09@OutputPortFieldAnnotation(name = %22floatResult%22, optional = true)%0A%09public final transient DefaultOutputPort%3CFloat%3E floatResult = new DefaultOutputPort%3CFloat%3E();%0A%0A%09/**%0A%09 * Long type output.%0A%09 */%0A%09@OutputPortFieldAnnotation(name = %22longResult%22, optional = true)%0A%09public final transient DefaultOutputPort%3CLong%3E longResult = new DefaultOutputPort%3CLong%3E();%0A%0A%09/**%0A%09 * Integer type output.%0A%09 */%0A%09@OutputPortFieldAnnotation(name = %22integerResult%22, optional = true)%0A%09public final transient DefaultOutputPort%3CInteger%3E integerResult = new DefaultOutputPort%3CInteger%3E();%0A%7D%0A

Change name to more logical name