public class OperatorResolver extends Object
Constructor and Description |
---|
OperatorResolver() |
Modifier and Type | Method and Description |
---|---|
List<OrderedPair<String>> |
getBinaryOperators()
Returns a list of operators for this assembly.
|
List<String> |
getUnaryOperators()
Returns a list of operators for this assembly.
|
void |
parseOperatorExpressionString(String operatorExpression)
Parses the operator expression and save the operators as a list
of unary or binary operators (i.e. matrix multiplication, see below).
|
void |
setBinaryOperators(List<OrderedPair<String>> binaryOperators) |
void |
setUnaryOperators(List<String> unaryOperators) |
public OperatorResolver()
public void parseOperatorExpressionString(String operatorExpression) throws IllegalArgumentException
operatorExpression
- the operator expression to be parsedIllegalArgumentException
public void setUnaryOperators(List<String> unaryOperators)
public void setBinaryOperators(List<OrderedPair<String>> binaryOperators)
public List<String> getUnaryOperators()
public List<OrderedPair<String>> getBinaryOperators()
Copyright © 2000–2018 BioJava. All rights reserved.