CharFrequencyCounter class
Facilitates performing char_frequency on a stream of strings.
Constructors
- CharFrequencyCounter(String char)
- char is the character to count
- CharFrequencyCounter.fromString(String str, String char)
- Creates a counter and adds parameter string. char is the character to count.
Properties
Methods
-
add(
String str, {bool filterNonChars = true}) → int - Add another string to be processed, returns the counts. filterNonChars removes non-chars from count.
-
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