jpos.profile
Interface PropValueList

All Known Implementing Classes:
DefaultPropValueList

public interface PropValueList

Defines a simple list of PropValue objects

Since:
1.3 (SF 2K meeting)
Author:
E. Michael Maximilien (maxim@us.ibm.com)

Inner Class Summary
static interface PropValueList.Iterator
          Simple interface to iterate through the list
 
Method Summary
 void add(PropValue propValue)
          Adds a new PropValue to this list
 boolean contains(PropValue propValue)
           
 int getSize()
           
 boolean isEmpty()
           
 PropValueList.Iterator iterator()
           
 void remove(PropValue propValue)
          Removes the PropValue to this list
 void removeAll()
          Removes all PropValue in this list
 

Method Detail

getSize

public int getSize()
Returns:
the current size of this list

isEmpty

public boolean isEmpty()
Returns:
true if this list is empty

add

public void add(PropValue propValue)
Adds a new PropValue to this list
Parameters:
propValue - the propValue to add

remove

public void remove(PropValue propValue)
Removes the PropValue to this list
Parameters:
propValue - the propValue to remove

removeAll

public void removeAll()
Removes all PropValue in this list

contains

public boolean contains(PropValue propValue)
Parameters:
propValue - the PropValue
Returns:
true if the PropValue is already in the list

iterator

public PropValueList.Iterator iterator()
Returns:
an PropValueList.Iterator object for this list


This API and code belongs to the JavaPOS committee please see LISCENCE file for details