com.croftsoft.core.util.seq
Class ArraySeq<E>

java.lang.Object
  extended by com.croftsoft.core.util.seq.ArraySeq<E>
All Implemented Interfaces:
Seq<E>

public final class ArraySeq<E>
extends Object
implements Seq<E>

Read-only access to an array.

Since:
2007-07-19
Version:
$Id: ArraySeq.java,v 1.1 2008/07/19 21:10:27 croft Exp $
Author:
David Wallace Croft

Constructor Summary
ArraySeq(E... array)
           
 
Method Summary
 E get(int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArraySeq

public ArraySeq(E... array)
Method Detail

size

public int size()
Specified by:
size in interface Seq<E>

get

public E get(int index)
Specified by:
get in interface Seq<E>

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)