public class IntegerNode extends NumberNode
Modifier and Type | Field | Description |
---|---|---|
static IntegerNode |
C1 |
fStringValue
sign
Constructor | Description |
---|---|
IntegerNode(int intValue) |
Instantiates a new integer node.
|
IntegerNode(String value) |
Instantiates a new integer node.
|
IntegerNode(String value,
int numberFormat) |
Instantiates a new integer node.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
Equals.
|
int |
getIntValue() |
Gets the int value.
|
int |
getNumberFormat() |
Gets the number format.
|
int |
hashCode() |
Hash code.
|
String |
toString() |
To string.
|
doubleValue, getString, isSign, toggleSign
public static final IntegerNode C1
public IntegerNode(String value)
value
- the valuepublic IntegerNode(String value, int numberFormat)
value
- the valuenumberFormat
- the number formatpublic IntegerNode(int intValue)
intValue
- the int valuepublic String toString()
toString
in class NumberNode
public int getNumberFormat()
public int getIntValue()
public boolean equals(Object obj)
equals
in class NumberNode
public int hashCode()
hashCode
in class NumberNode
Copyright © 2018. All rights reserved.