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 حسام الملحم
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.