com.croftsoft.core.util.seq
Class SeqExample
java.lang.Object
com.croftsoft.core.util.seq.SeqExample
- All Implemented Interfaces:
- Seq<CharSequence>
public final class SeqExample
- extends Object
- implements Seq<CharSequence>
Example implementation of Seq as an accessor interface.
For a description, please see the online tutorial
Interface Seq.
- Since:
- 2007-04-30
- Version:
- $Id: SeqExample.java,v 1.5 2008/04/19 21:27:13 croft Exp $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeqExample
public SeqExample(CharSequence[] charSequenceArray)
main
public static void main(String[] args)
size
public int size()
- Specified by:
size
in interface Seq<CharSequence>
get
public CharSequence get(int index)
- Specified by:
get
in interface Seq<CharSequence>
append
public void append(CharSequence charSequence)
CroftSoft Core Javadoc (2008-09-28 20:58:02)