subject

Suppose you have to design a text editor class (TextEditor) that should benefit from multiple variants of a spell checking algorithm. Users of the TextEditor class would have to supply custom versions of the spell cheking algorithm to support spelling in different languages.

a) What design pattern would you use and why ?
b) Write the UML class diagram for the design pattern as it applies to this problem.
c) Write a table that lists the relationship between the names from the identified design pattern and the classes/interfaces from your problem.
d) Write the skeleton Java code for the design: definitions for classes with instance variables and methods as detailed as we can from the problem description.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:00, mimithurmond03
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
image
Computers and Technology, 24.06.2019 01:30, kellygaytan
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
image
Computers and Technology, 24.06.2019 08:00, Maxxboogie
Can someone work out the answer as it comes up in one of my computer science exams and i don't understand the cryptovariables
Answers: 1
You know the right answer?
Suppose you have to design a text editor class (TextEditor) that should benefit from multiple varian...

Questions in other subjects:

Konu
Mathematics, 30.06.2021 18:50
Konu
French, 30.06.2021 19:00
Konu
Mathematics, 30.06.2021 19:00