Class IntRangeClient

java.lang.Object
it.unimi.di.prog2.s15.IntRangeClient

public class IntRangeClient extends Object
A class to test IntRanges.
  • Constructor Details

    • IntRangeClient

      private IntRangeClient()
      .
  • Method Details

    • main

      public static void main(String[] args)
      A method to test the IntRange class.

      This methods reads the parameters of an IntRange from the lines in the standard input in the form command value, where the command is:

      • F to set the from value of the range.
      • T to set the to value of the range.
      • S to set the step of the range.
      commands can be repeated, the last value is the one that is considered. Once the input is exhausted, the method emits the integers in the range in the standard output.
      Parameters:
      args - not used.