setFrequency method

DftMapEntry setFrequency(
  1. String term,
  2. Ft frequency
)

Returns a DftMapEntry with:

  • key set to term; and
  • the value set to frequency.

Implementation

DftMapEntry setFrequency(String term, Ft frequency) {
  this[term] = frequency;
  return DftMapEntry(term, frequency);
}