Skip to content

markoth123/StrategyPatternUseCase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

StrategyPatternUseCase

A simple implementation of the Strategy Design Pattern in Java with Unit Tests

A BookShelf contains Books. Books are made up of a title and a length (the number of pages in them). A BookShelf can be sorted using two different strategies, sorting by length from smallest to largest (LengthSort) and sorting alphabetically by title (TitleSort).

UML Diagram

alt tag

About

A simple implementation of the Strategy Design Pattern in Java with Unit Tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages