


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information on implementing the strategy pattern in java using function objects and static factory methods. It covers the concept of function objects, their implementation using comparator classes, and the advantages and disadvantages of using static factory methods. From the department of computer science at the university of massachusetts amherst, likely from a computer science course.
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Department of Computer Science
Department of Computer Science
Department of Computer Science
Department of Computer Science 2
UUNIVERSITY OFNIVERSITY OF MMASSACHUSETTSASSACHUSETTS, A, AMHERSTMHERST • • Department of Computer ScienceDepartment of Computer Science 3
UUNIVERSITY OFNIVERSITY OF MMASSACHUSETTSASSACHUSETTS, A, AMHERSTMHERST • • Department of Computer ScienceDepartment of Computer Science 4
Department of Computer Science
Department of Computer Science 7
Department of Computer Science
Department of Computer Science 8
UUNIVERSITY OFNIVERSITY OF MMASSACHUSETTSASSACHUSETTS, A, AMHERSTMHERST • • Department of Computer ScienceDepartment of Computer Science 9
UUNIVERSITY OFNIVERSITY OF MMASSACHUSETTSASSACHUSETTS, A, AMHERSTMHERST • • Department of Computer ScienceDepartment of Computer Science 10
Department of Computer Science
Department of Computer Science 19
Department of Computer Science
Department of Computer Science 20
UUNIVERSITY OFNIVERSITY OF MMASSACHUSETTSASSACHUSETTS, A, AMHERSTMHERST • • Department of Computer ScienceDepartment of Computer Science 21