Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(List<Word> words)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Words.Builder |
addWord(Word word)
Adds an word to words.
|
Words |
build()
Builds a Words.
|
Words.Builder |
words(List<Word> words)
Set the words.
|
public Words build()
public Words.Builder addWord(Word word)
word
- the new wordpublic Words.Builder words(List<Word> words)
words
- the wordsCopyright © 2023 IBM Cloud. All rights reserved.