SubStringFrequencyCounter class
Facilitates performing substring_frequency on a stream of strings.
Constructors
- SubStringFrequencyCounter(String? substring)
- substring is the substring to count
- SubStringFrequencyCounter.fromString(String? str, String? word)
- Creates a counter and adds parameter string. word is the word to count
Properties
Methods
-
add(
String? str) → int? - Add another string to be processed, returns the counts.
-
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