Class IntList
#include <IntList.h >
Super class: long
A class to manipulate a list of integers (longs).
You can treat the class a sequenced list or as a set.
Constructor. Create a empty list.
const IntList& list2 |
another list of integers |
Treating the list and provided list as sets, find where the two
overlap and return that set
Return value: the integers that appear in both sets
const IntList& list2 |
another list of integers |
Treating the list and provided list as sets, combine them;
return the union of both sets
Return value: all the integers in both sets
const IntList& list2 |
another list of integers |
Treating the list and provided list as sets, find where the two
do not overlap and return that set
Return value: the integers that do not overlap between the two both sets
Reverse the order of the integers in the list
Return value: the reversed list