MCPcopy Create free account
hub / github.com/DiUS/java-faker / words

Method words

src/main/java/com/github/javafaker/Lorem.java:76–82  ·  view source on GitHub ↗
(int num)

Source from the content-addressed store, hash-verified

74 }
75
76 public List<String> words(int num) {
77 List<String> returnList = new ArrayList<String>();
78 for (int i = 0; i < num; i++) {
79 returnList.add(word());
80 }
81 return returnList;
82 }
83
84 public List<String> words() {
85 return words(3);

Callers 4

sentenceMethod · 0.95
testWordsMethod · 0.80
slugMethod · 0.80

Calls 2

wordMethod · 0.95
addMethod · 0.80

Tested by 2

testWordsMethod · 0.64