All Implemented Interfaces:

public class Words
For the [Add custom words](#addwords) method, one or more words that are to be added or updated for the custom model and the translation for each specified word.

For the [List custom words](#listwords) method, the words and their translations from the custom model.

  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Words.Builder
  • Method Summary

    Modifier and Type Method Description
    Words.Builder newBuilder()
    New builder.
    List<Word> words()
    Gets the words.

    Methods inherited from class

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • newBuilder

      public Words.Builder newBuilder()
      New builder.
      a Words builder
    • words

      public List<Word> words()
      Gets the words.

      The [Add custom words](#addwords) method accepts an array of `Word` objects. Each object provides a word that is to be added or updated for the custom model and the word's translation.

      The [List custom words](#listwords) method returns an array of `Word` objects. Each object shows a word and its translation from the custom model. The words are listed in alphabetical order, with uppercase letters listed before lowercase letters. The array is empty if the custom model contains no words.

      the words