Trie class
Constructors
- Trie()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
find(
String prefix) → List< String> -
Finds all complete words in the trie matching the
prefix
. -
has(
String word) → bool -
Whether the trie contains the
word
. -
insert(
String word) → void -
Inserts the
word
into the trie. -
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