VerbRepository<T extends Verb> class

Repository singleton to be initialised with all the verbs that you want to evaluate with the client app.

Constructors

VerbRepository.instance()
Singleton factory method
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pronouns List<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setVerbs HashMap<String, Verb>
no getter
verbs HashMap<String, Verb>
no setter

Methods

initialise(HashMap<String, T> verbs, List<String> pronouns) → void
The verbs with which you want to initialise the repository. The key for this HashMap should be the infinitive. Next to that, we initialise with the pronouns of the language that we are studying. This list should be complete (all six forms)!
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited