Interface Package

All Known Implementing Classes:
BasePackage, IteratorPackage, JavaMathPackage

public interface Package
An interface for more explicitly package importing. Most Itrex packages are just classes with static FunctionInterface fields set.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    importTo(Evaluator evaluator, String packageName)
    Import some set of functions into the given Evaluator.
  • Method Details

    • importTo

      void importTo(Evaluator evaluator, String packageName)
      Import some set of functions into the given Evaluator.
      Parameters:
      evaluator - The evaluator to import to.
      packageName - If not null, all functions should be registered under this package name, per the user's import request. That is, function names should be constructed as packageName +"."+functionName.