com.croftsoft.core.util
Class StableArrayKeeper

java.lang.Object
  extended by com.croftsoft.core.util.StableArrayKeeper
All Implemented Interfaces:
Testable, ArrayKeeper, Serializable

public final class StableArrayKeeper
extends Object
implements ArrayKeeper, Serializable, Testable

Optimized for reading from a stable array.

Since:
2003-04-11
Version:
2003-04-14
See Also:
Serialized Form
Author:
David Wallace Croft

Constructor Summary
StableArrayKeeper()
           
StableArrayKeeper(Object[] array)
           
 
Method Summary
 void append(Object o)
           
 Object[] getArray()
           
 Object[] getArray(Class c)
           
 void insert(Comparable comparable)
           
static void main(String[] args)
           
 void remove(Object o)
           
 void setArray(Object[] array)
           
static boolean test(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StableArrayKeeper

public StableArrayKeeper(Object[] array)

StableArrayKeeper

public StableArrayKeeper()
Method Detail

main

public static void main(String[] args)

test

public static boolean test(String[] args)

getArray

public Object[] getArray()
Specified by:
getArray in interface ArrayKeeper

getArray

public Object[] getArray(Class c)
Specified by:
getArray in interface ArrayKeeper

append

public void append(Object o)
Specified by:
append in interface ArrayKeeper

insert

public void insert(Comparable comparable)
Specified by:
insert in interface ArrayKeeper

remove

public void remove(Object o)
Specified by:
remove in interface ArrayKeeper

setArray

public void setArray(Object[] array)
Specified by:
setArray in interface ArrayKeeper

CroftSoft Javadoc

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