com.croftsoft.core.util.seq
Class SeqExample

java.lang.Object
  extended by 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

Constructor Summary
SeqExample(CharSequence[] charSequenceArray)
           
 
Method Summary
 void append(CharSequence charSequence)
           
 CharSequence get(int index)
           
static void main(String[] args)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeqExample

public SeqExample(CharSequence[] charSequenceArray)
Method Detail

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 Javadoc

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