001         package com.croftsoft.core.util.loop;
002    
003         /*********************************************************************
004         * An object capable of implementing some task in a loop.
005         *
006         * @author
007         *   <a href="https://www.croftsoft.com/">David Wallace Croft</a>
008         * @version
009         *   2003-05-22
010         * @since
011         *   2000-04-27
012         *********************************************************************/
013    
014         public interface  Loopable
015         //////////////////////////////////////////////////////////////////////
016         //////////////////////////////////////////////////////////////////////
017         {
018    
019         /*********************************************************************
020         * @return
021         *
022         *   False if looping should stop.
023         *********************************************************************/
024         public boolean  loop ( );
025    
026         //////////////////////////////////////////////////////////////////////
027         //////////////////////////////////////////////////////////////////////
028         }