Class IntSetClient
java.lang.Object
it.unimi.di.prog2.h17.IntSetClient
A class to test
ArrayIntSet and ListIntSet.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntSetClient
private IntSetClient().
-
-
Method Details
-
main
Tests some methods ofArrayIntSetandListIntSet.This method reads integers from standard input and inserts them into a set, then it emits the set size and elements in the standard output. The first parameter determines the implementation to use:
aforArrayIntSet, anything else forListIntSet.- Parameters:
args- if the set should be ordered.
-