All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class parameter.ParameterStore

java.lang.Object
   |
   +----parameter.ParameterStore

public class ParameterStore
extends Object
implements Store
This class implements a Store for Parameters using java.util.Vector. Specific class of meant-to-be-generic class java.util.Vector. This class really should be a subclass of java.util.Vector, but most members of java.util.Vector are final.

Version:
$Revision: 1.3 $

Variable Index

 o list

Constructor Index

 o ParameterStore()

Method Index

 o add(Parameter)
 o add(StoreElement)
This Store should work on Parameters instead of StoreElements, but method add(StoreElement) is in the interface this class implements.
 o at(int)
 o elements()
This method is here because it is specified in the interface Store.
 o findName(String)
 o first()
 o getDescriptiveString()
 o last()
 o parameters()
 o removeAll()
 o removeAt(int)
 o size()
 o toString()

Variables

 o list
 private Vector list

Constructors

 o ParameterStore
 public ParameterStore()

Methods

 o add
 public void add(Parameter c)
 o add
 public void add(StoreElement item)
This Store should work on Parameters instead of StoreElements, but method add(StoreElement) is in the interface this class implements.

 o at
 public Parameter at(int index)
 o first
 public Parameter first()
 o removeAt
 public void removeAt(int index)
 o removeAll
 public void removeAll()
 o size
 public int size()
 o parameters
 public Enumeration parameters()
 o last
 public Parameter last()
 o elements
 public Enumeration elements()
This method is here because it is specified in the interface Store. Given that this store only works with parameters, it makes more sense to name this method parameters(). This method just refers to parameters() for its result.

 o findName
 public Parameter findName(String name)
 o getDescriptiveString
 public String getDescriptiveString()
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index