Class ShoppingList

  • All Implemented Interfaces:
    java.util.function.BiConsumer<TextIO,​RunnerData>

    public class ShoppingList
    extends java.lang.Object
    implements java.util.function.BiConsumer<TextIO,​RunnerData>
    Illustrates how to use read handlers.
    • Constructor Summary

      Constructors 
      Constructor Description
      ShoppingList()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(TextIO textIO, RunnerData runnerData)  
      static void main​(java.lang.String[] args)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.function.BiConsumer

        andThen
    • Constructor Detail

      • ShoppingList

        public ShoppingList()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • accept

        public void accept​(TextIO textIO,
                           RunnerData runnerData)
        Specified by:
        accept in interface java.util.function.BiConsumer<TextIO,​RunnerData>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object