private static class RealRepresentation.Number2SignUnsigned extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
sign
The sign which is either
RealRepresentation.SIGN_PLUS or RealRepresentation.SIGN_MINUS. |
private String |
unSigned
The unsigned part of a number.
|
| Constructor and Description |
|---|
Number2SignUnsigned(String signed)
Creates a new
Number2SignUnsigned instance
wrapping a string representation of a number. |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
getSign() |
(package private) String |
getUnSigned() |
private final String sign
RealRepresentation.SIGN_PLUS or RealRepresentation.SIGN_MINUS.private final String unSigned
Number2SignUnsigned(String signed)
Number2SignUnsigned instance
wrapping a string representation of a number.signed - a String representation of a number.
There may be either an explicit sign
or the first symbol is a digit.NumberFormatException - if the first symbol is neither a sign nor a digit.Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.