jpos.profile
Interface PropInfoList

All Known Implementing Classes:
DefaultPropInfoList

public interface PropInfoList

Defines a simple list of PropInfo objects

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

Inner Class Summary
static interface PropInfoList.Iterator
          Simple interface to iterate through the list
 
Method Summary
 void add(PropInfo propInfo)
          Adds a new PropInfo to this list
 boolean contains(PropInfo propInfo)
           
 int getSize()
           
 boolean isEmpty()
           
 PropInfoList.Iterator iterator()
           
 void remove(PropInfo propInfo)
          Removes the PropInfo to this list
 void removeAll()
          Removes all PropInfo 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(PropInfo propInfo)
Adds a new PropInfo to this list
Parameters:
propInfo - the propInfo to add

remove

public void remove(PropInfo propInfo)
Removes the PropInfo to this list
Parameters:
propInfo - the propInfo to remove

removeAll

public void removeAll()
Removes all PropInfo in this list

contains

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

iterator

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


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