M
mrstephengross
I have an object (Foo), and would like to create a set of Foo's.
(1) How should I implement Foo's 'equals()' function so that I can
ensure only unique instances of Foo are placed in the set?
(2) How should I create the actual set to store the Foo instances?
Thanks in advance,
--Steve
(1) How should I implement Foo's 'equals()' function so that I can
ensure only unique instances of Foo are placed in the set?
(2) How should I create the actual set to store the Foo instances?
Thanks in advance,
--Steve