Dictionary

interface Dictionary(source)

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

Inheritors

Properties

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

The words in the dictionary.

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.