public class Strings extends Object
Modifier and Type | Method and Description |
---|---|
static String |
fill(char filler,
int len)
Creates a string filled with the with the value of the
filler parameter with a length defined by the
len parameter. |
static String |
fill(CharSequence filler,
int len)
Creates a string filled with the with the value of the
filler parameter with a length defined by the
len parameter. |
public static String fill(char filler, int len)
filler
parameter with a length defined by the
len
parameter.filler
- the filler character.len
- the length to fill.public static String fill(CharSequence filler, int len)
filler
parameter with a length defined by the
len
parameter.filler
- the filler sequence.len
- the length to fill.Copyright © 2023 JBoss by Red Hat. All rights reserved.