Class IntSetsClient

java.lang.Object
it.unimi.di.prog2.h09.IntSetsClient

public class IntSetsClient extends Object
A class to test some methods of IntSet.
  • Constructor Details

    • IntSetsClient

      private IntSetsClient()
      .
  • Method Details

    • main

      public static void main(String[] args)
      Tests some methods of IntSet.

      Given a list of integers as arguments on the command line, builds a set from them, and then for every element in the list, emits list if the element is in the list, then for every element in the set, emits an set if the element is in the list.

      Parameters:
      args - the integers to be used as elements of the list.