Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (IntNode i = _head; i != null; i = i.getNext()) // Goes through the current set.
- {
- if (i.getValue() != otherSet.getValue())
- return false;
- otherSet = otherSet.getNext();
- }
- return true,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement