AllCharFrequencyCounter.fromString constructor

AllCharFrequencyCounter.fromString(
  1. String str
)

Creates a counter and adds parameter string.

Implementation

AllCharFrequencyCounter.fromString(String str) {
  add(str);
}