hussam.math.operations.factory
Interface OperatorFactory<T extends Operator>

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CustomFunctionFactory, DynamicFunctionFactory, OperatorFactoryImpl

public interface OperatorFactory<T extends Operator>
extends java.io.Serializable

This is the mother of all Operator Factories.

Author:
Hussam Almulhim حسام الملحم

Method Summary
 intgetDefaultArgumentCount()
          Returns the default number of arguments for this operator.
 java.lang.StringgetDescription()
          Returns a description of this operator.
 java.lang.StringgetName()
          Returns the name of this operator.
 TgetNewOperator()
          Returns a new Operator.
 

Method Detail

getNewOperator

T getNewOperator()
Returns a new Operator.

Returns:
The new Operator.

getDescription

java.lang.String getDescription()
Returns a description of this operator.

Returns:
a description.

getName

java.lang.String getName()
Returns the name of this operator.

Returns:
The name of the factory.

getDefaultArgumentCount

int getDefaultArgumentCount()
Returns the default number of arguments for this operator.

Returns:
the default argument count for this operator.