001        package com.croftsoft.core.util.seq;
002    
003        /***********************************************************************
004        * Read-only access to a sequence such as an Object array or a List.
005        * 
006        * Pronounced "seek".
007        * 
008        * For a description, please see the online tutorial
009        * <a target="_blank"
010        *   href="https://www.croftsoft.com/library/tutorials/seq">
011        * Interface Seq</a>.
012        * 
013        * @version
014        *   $Id: Seq.java,v 1.7 2008/04/19 21:27:13 croft Exp $
015        * @since
016        *   2007-04-29
017        * @author
018        *   <a href="https://www.croftsoft.com/">David Wallace Croft</a>
019        ***********************************************************************/
020    
021        public interface  Seq<E>
022        ////////////////////////////////////////////////////////////////////////
023        ////////////////////////////////////////////////////////////////////////
024        {
025          
026        public int  size ( );
027        
028        public E  get ( int  index );
029    
030        ////////////////////////////////////////////////////////////////////////
031        ////////////////////////////////////////////////////////////////////////
032        }