Searched refs:wordSet (Results 1 – 4 of 4) sorted by relevance
113 final Set<String> wordSet = new HashSet<>(); in generateWords() local114 while (wordSet.size() < number) { in generateWords()115 wordSet.add(CodePointUtils.generateWord(random, codePointSet)); in generateWords()117 sWords.addAll(wordSet); in generateWords()121 wordSet.clear(); in generateWords()122 while (wordSet.size() < number) { in generateWords()123 wordSet.add(CodePointUtils.generateWord(random, largeCodePointSet)); in generateWords()125 sWordsWithVariousCodePoints.addAll(wordSet); in generateWords()644 final HashSet<String> wordSet = new HashSet<>(words);663 wordSet.remove(word0);[all …]
124 final HashSet<String> wordSet = new HashSet<>(); in generateWords() local125 while (wordSet.size() < numberOfWords) { in generateWords()126 wordSet.add(generateWord(random.nextInt())); in generateWords()128 return new ArrayList<>(wordSet); in generateWords()
70 final Set<String> wordSet = new HashSet<>(); in generateWords() local71 while (wordSet.size() < maxUnigrams) { in generateWords()72 wordSet.add(CodePointUtils.generateWord(random, codePointSet)); in generateWords()74 sWords.addAll(wordSet); in generateWords()
852 final HashSet<String> wordSet = new HashSet<>(words); in testIterateAllWords() local863 wordSet.remove(word0); in testIterateAllWords()878 assertTrue(wordSet.isEmpty()); in testIterateAllWords()