Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ClassActivity1 Word Layout References Mailings Review View Design Layout Tell me what you want to do Rules tMatch Fields Finish & Merge Preview OFind Recipient

image text in transcribed
ClassActivity1 Word Layout References Mailings Review View Design Layout Tell me what you want to do Rules tMatch Fields Finish & Merge Preview OFind Recipient Highlight Address Greeting Insert Merge Merge Fields Block Line Field Update Labels Results Check for Erors Wirite & Insert Fields Preview Results 0 What does the code do? public class SortMyData Linkedlist-Stringe myList int minSize int status int dataType publik SortMyDataLint status, int dataType)l 0 What changes would you have to make to add new sorting routines? myList- new LinkedListcString-) this. staturs status this dataType - dataType readDatalmyList) if (dataType1 O What changes would you have to make to remove a sorting routine? status .. 1){ sortmoust else if (status2H l else if (status3 O Sketch the UML diagram for the existing code. (it is going to be simple!) else f public void readData(LinkedList string> // Read in data here public void sortx[LinkedList myList)f 0 Now refactor the solution to use the Strategy Pattern. Show your new UML Class diagram here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2. Are you varying your pitch (to avoid being monotonous)?

Answered: 1 week ago

Question

3. Are you varying your speaking rate and volume?

Answered: 1 week ago