public class Charge extends Object
Constructor and Description |
---|
Charge()
Empty default constructor.
|
Modifier and Type | Method and Description |
---|---|
static String |
getChargeAsFormattedString(int value)
Returns the charge as a string of + or -.
|
static String |
toString(int value)
Returns a string representing the charge.
|
public static String toString(int value)
value
- the value of the chargepublic static String getChargeAsFormattedString(int value)
value
- the value of the chargeCopyright © 2021. All rights reserved.