games

Class FizzBuzz

  • java.lang.Object
    • games.FizzBuzz
    • Constructor Summary

      Constructors 
      Constructor and Description
      FizzBuzz() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Entry point for a streaming Fizz Buzz!
      static com.ibm.streamsx.topology.TStream<java.lang.String> playFizzBuzz(com.ibm.streamsx.topology.TStream<java.lang.Long> counting)
      Return a stream that plays Fizz Buzz based upon the values in the input stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Entry point for a streaming Fizz Buzz!
        Throws:
        java.lang.Exception
      • playFizzBuzz

        public static com.ibm.streamsx.topology.TStream<java.lang.String> playFizzBuzz(com.ibm.streamsx.topology.TStream<java.lang.Long> counting)
        Return a stream that plays Fizz Buzz based upon the values in the input stream.
streamsx.topology @ IBMStreams GitHub