Difference between revisions of "Set Intersector Assignment"

From CSE231 Wiki
Jump to navigation Jump to search
(Created page with "=Motivation= Performing the set intersection required by the Mutual Friends exercise can be a bit tricky. This group warmup will fami...")
 
Line 1: Line 1:
 
=Motivation=
 
=Motivation=
Performing the set intersection required by the [[Mutual_Friends_MapReduce_Application|Mutual Friends]] exercise can be a bit tricky.  This group warmup will familiarize everyone with the provided SetIntersector class.
+
Performing the set intersection required by the [[Mutual_Friends_MapReduce_Application|Mutual Friends]] exercise can be a bit tricky.  This group warmup will familiarize everyone with the provided [[https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse231/fall22/apidocs/edu/wustl/cse231s/util/SetIntersector.html SetIntersector<E>]] class.
 +
 
 +
=Code To Investigate=
 +
==SetIntersector<E>==
 +
class [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse231/fall22/apidocs/edu/wustl/cse231s/util/SetIntersector.html SetIntersector<E>]
 +
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse231/fall22/apidocs/edu/wustl/cse231s/util/SetIntersector.html#accept(java.util.Set) accept(friendIds)]
 +
 
 +
: [https://www.cse.wustl.edu/~dennis.cosgrove/courses/cse231/fall22/apidocs/edu/wustl/cse231s/util/SetIntersector.html#currentIntersection() currentIntersection()]
 +
 
 +
=Code To Implement=
 +
 
 +
=Testing=

Revision as of 18:27, 11 October 2022

Motivation

Performing the set intersection required by the Mutual Friends exercise can be a bit tricky. This group warmup will familiarize everyone with the provided [SetIntersector<E>] class.

Code To Investigate

SetIntersector<E>

class SetIntersector<E>

accept(friendIds)
currentIntersection()

Code To Implement

Testing