Interface EquationTokeniser


public interface EquationTokeniser
Tokeniser for a string representing an equation. Each token object represents the meaning of a non-overlapping substring of the equation string.
Since:
3.9

Module: equations-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>equations-api</artifactId>
</dependency>

Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
  • Method Details

    • getTokenIterator

      Iterator<Token> getTokenIterator(String equationAsString)
      Returns an iterator of Token objects.
    • getTokenList

      default List<Token> getTokenList(String equationAsString)
      Returns a list of Token objects.