Demo entry 6761618



Submitted by anonymous on Sep 29, 2018 at 19:36
Language: Java. Code size: 181 Bytes.

public Set intersection (Set s1, Set s2)
// Effects: If s1 or s2 is null throw NullPointerException
// else return a (non null) Set equal to the intersection
// of Sets s1 and s2

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).