org.silverpeas.util
Class PrefixedNotationExpressionEngine.OperatorFunction<T>

java.lang.Object
  extended by org.silverpeas.util.PrefixedNotationExpressionEngine.OperatorFunction<T>
Type Parameters:
T -
Enclosing class:
PrefixedNotationExpressionEngine<R>

public static class PrefixedNotationExpressionEngine.OperatorFunction<T>
extends Object

Defines an operator behavior.


Constructor Summary
PrefixedNotationExpressionEngine.OperatorFunction(String operator, BiFunction<T,T,T> function)
           
 
Method Summary
 BiFunction<T,T,T> getFunction()
           
 String getOperator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefixedNotationExpressionEngine.OperatorFunction

public PrefixedNotationExpressionEngine.OperatorFunction(String operator,
                                                         BiFunction<T,T,T> function)
Method Detail

getOperator

public String getOperator()

getFunction

public BiFunction<T,T,T> getFunction()


Copyright © 2016 Silverpeas. All Rights Reserved.