Class ArrayIntSetClient

java.lang.Object
it.unimi.di.prog2.h08.ArrayIntSetClient

public class ArrayIntSetClient extends Object
A class to test some methods of ListIntSet.
  • Constructor Details

    • ArrayIntSetClient

      private ArrayIntSetClient()
      .
  • Method Details

    • main

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

      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.