Chars

Returns random char values, optionally constrained within a range,

API

Chars.java
class Chars {
  Chars(FakeDataService fakeDataService)
  char upper()     (1)
  char lower()     (2)
  char digit()     (3)
  char anyOf(String s)     (4)
  char any()     (5)
}
1 upper()

Returns a random upper case characters, between 'A' and 'Z'.

2 lower()

Returns a random lower case characters, between 'a' and 'z'.

3 digit()

Returns a digit character, between '0' and '9'.

4 anyOf(String)

Returns any single character within the provided string.

5 any()

Returns any character at random.

Members

upper()

Returns a random upper case characters, between 'A' and 'Z'.

lower()

Returns a random lower case characters, between 'a' and 'z'.

digit()

Returns a digit character, between '0' and '9'.

anyOf(String)

Returns any single character within the provided string.

any()

Returns any character at random.