public final class Strings
extends java.lang.Object
Strings.| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
repeat(java.lang.String string,
int repetition)
Returns a
String that consists of string repeated repetition times. |
static java.lang.String |
toNonScientificNotation(float value)
Returns a
String representation of value without scientific notation. |
public static java.lang.String repeat(java.lang.String string,
int repetition)
String that consists of string repeated repetition times.
If string is null, the String literal "null" will be repeated repetition times.
If repetition is less than or equal to 0, an empty String will be returned.
string - the String to repeat, which may be nullrepetition - how many times string should be repeatedString that consists of string repeated repetition timespublic static java.lang.String toNonScientificNotation(float value)
String representation of value without scientific notation.value - a float valueString representation of value without scientific notation