question: public static synchronized void resetSingleton ( ) { singleton . beingUsed = false ; singleton . data = new ArrayList < Byte > ( ) ; singleton . counter = new AtomicInteger ( 0 ) ; singleton . endReached = false ; System . setIn ( defaultIn ) ; }
target:  Reset the static state be re-instantiate the singleton