Dictionary

interface Dictionary(source)

A collection of words that may become inaccessible at any moment in time.

Functions

Link copied to clipboard
open fun isValid(): Boolean

Returns true iff validate does not throw an exception.

Link copied to clipboard
abstract fun validate()

Throws an InvalidDictionaryException iff this dictionary is currently invalid.

Properties

Link copied to clipboard
abstract val words: Set<String>

The words in the dictionary.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard