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 a new element 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 element to be addedpublic Words.Builder words(List<Word> words)
words
- the wordsCopyright © 2024 IBM Cloud. All rights reserved.