All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class spec.harness.OrderedProperties

spec.harness.OrderedProperties

public class OrderedProperties
Ordered properties is a class derived from properties. It simply extends the functionality of the property class. The property class puts the properties in a hashtable whose order is not known. The orderedproperties class maintains a vector of the Hash of the entry put into the hashtable so that the hash table can be retreved in the known order any number of times.


Constructor Index

 o OrderedProperties()

Method Index

 o keyAt(int)
returns the element at the particular posion of the sequence vector
 o load(InputStream)
The load method of the Properties class is overloaded to provide the extra functionality of the sequencing.
 o size()
returns the size of the sequence vector.
 o valueAt(int)

Constructors

 o OrderedProperties
 public OrderedProperties()

Methods

 o keyAt
 public Object keyAt(int i)
returns the element at the particular posion of the sequence vector

 o load
 public void load(InputStream in) throws IOException
The load method of the Properties class is overloaded to provide the extra functionality of the sequencing. The key is added to the Vector, every time an entry is put to HashTable

 o size
 public int size()
returns the size of the sequence vector.

 o valueAt
 public Object valueAt(int i)

All Packages  Class Hierarchy  This Package  Previous  Next  Index