com.croftsoft.core.util.seq
Class ListSeq<E>
java.lang.Object
com.croftsoft.core.util.seq.ListSeq<E>
- All Implemented Interfaces:
- Seq<E>
public final class ListSeq<E>
- extends Object
- implements Seq<E>
Read-only access to a List.
- Since:
- 2007-07-19
- Version:
- $Id: ListSeq.java,v 1.1 2008/07/19 22:12:36 croft Exp $
- Author:
- David Wallace Croft
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 |
ListSeq
public ListSeq(List<? extends E> list)
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 Core Javadoc (2008-09-28 20:58:02)