UserDictionary

A Dictionary of which the underlying file is a regular file.

Types

Link copied to clipboard
object Companion

Holds static elements.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Returns true iff this dictionary's filename equals other's filename.

Link copied to clipboard
open override fun hashCode(): Int

Returns the hash code of the filename.

Link copied to clipboard
open fun isValid(): Boolean

Returns true iff validate does not throw an exception.

Link copied to clipboard
open override fun toString(): String

Returns a human-readable string of the dictionary's filename.

Link copied to clipboard
open override fun validate()

Throws an InvalidDictionaryException iff this dictionary is currently invalid.

Properties

Link copied to clipboard
val filename: String

the path to the file

Link copied to clipboard
open override val words: Set<String>

The words in the dictionary.