001         package com.croftsoft.core.util;
002    
003         import com.croftsoft.core.lang.NullArgumentException;
004    
005         /*********************************************************************
006         * Keeps an array.
007         *
008         * @version
009         *   2003-04-11
010         * @since
011         *   2003-04-11
012         * @author
013         *   <a href="https://www.croftsoft.com/">David Wallace Croft</a>
014         *********************************************************************/
015    
016         public interface  ArrayKeeper
017         //////////////////////////////////////////////////////////////////////
018         //////////////////////////////////////////////////////////////////////
019         {
020    
021         public Object [ ]  getArray ( );
022    
023         public Object [ ]  getArray ( Class c );
024    
025         //
026    
027         public void  append ( Object  o );
028    
029         public void  insert ( Comparable  comparable );
030    
031         public void  remove ( Object  o );
032    
033         public void  setArray ( Object [ ]  array );
034    
035         //////////////////////////////////////////////////////////////////////
036         //////////////////////////////////////////////////////////////////////
037         }