Class IntegerVariableAssignmentParser

java.lang.Object
org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
org.apache.wicket.util.parse.metapattern.parsers.IntegerVariableAssignmentParser

Parses integer variable assignments, such as "x = 9" or "x=9".
Author:
Jonathan Locke
  • Constructor Details

  • Method Details

    • getVariable

      public String getVariable()
      Gets the variable part (eg the 'x' from 'x = 9').
      Returns:
      the variable part
    • getIntValue

      public int getIntValue()
      Gets the int part (eg the '9' from 'x = 9').
      Returns:
      the int part.
    • getLongValue

      public long getLongValue()
      Gets the int part as a long.
      Returns:
      the int part as a long