Package parsing

Class OperationMaps

Object
OperationMaps

public class OperationMaps
extends Object
OperationMaps is a centralized location for the strings of all unitary and binary operations to be stored for parsing. The conversions between these strings and their GeneralFunction equivalents are stored as lambdas in their respective maps.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static Map<String,​BinaryConstructor> binaryOperations
    A map between binary operation strings and their associated constructor lambdas
    static Map<String,​UnitaryConstructor> unitaryOperations
    A map between unitary operation strings and their associated constructor lambdas
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • unitaryOperations

      public static final Map<String,​UnitaryConstructor> unitaryOperations
      A map between unitary operation strings and their associated constructor lambdas
    • binaryOperations

      public static final Map<String,​BinaryConstructor> binaryOperations
      A map between binary operation strings and their associated constructor lambdas