jpos.profile
Class DefaultDevCatInfoList

java.lang.Object
  |
  +--jpos.profile.DefaultDevCatInfoList
All Implemented Interfaces:
DevCatInfoList

class DefaultDevCatInfoList
extends java.lang.Object
implements DevCatInfoList

Defines a simple list of DevCatInfo objects

Since:
1.3 (SF 2K meeting)
Author:
E. Michael Maximilien

Inner Class Summary
(package private)  class DefaultDevCatInfoList.DefaultIterator
          Simple interface to iterate through the list
 
Inner classes inherited from class jpos.profile.DevCatInfoList
DevCatInfoList.Iterator
 
Constructor Summary
DefaultDevCatInfoList()
          Default ctor
 
Method Summary
 void add(DevCatInfo devCatInfo)
          Adds a new DevCatInfo to this list
 boolean contains(DevCatInfo devCatInfo)
           
 int getSize()
           
 boolean isEmpty()
           
 DevCatInfoList.Iterator iterator()
           
 void remove(DevCatInfo devCatInfo)
          Removes the DevCatInfo to this list
 void removeAll()
          Removes all DevCatInfo in this list
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDevCatInfoList

public DefaultDevCatInfoList()
Default ctor
Method Detail

getSize

public int getSize()
Specified by:
getSize in interface DevCatInfoList
Returns:
the current size of this list

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface DevCatInfoList
Returns:
true if this list is empty

add

public void add(DevCatInfo devCatInfo)
Adds a new DevCatInfo to this list
Specified by:
add in interface DevCatInfoList
Parameters:
devCatInfo - the devCatInfo to add

remove

public void remove(DevCatInfo devCatInfo)
Removes the DevCatInfo to this list
Specified by:
remove in interface DevCatInfoList
Parameters:
devCatInfo - the devCatInfo to remove

removeAll

public void removeAll()
Removes all DevCatInfo in this list
Specified by:
removeAll in interface DevCatInfoList

contains

public boolean contains(DevCatInfo devCatInfo)
Specified by:
contains in interface DevCatInfoList
Parameters:
devCatInfo - the devCatInfo
Returns:
true if the DevCatInfo is already in the list

iterator

public DevCatInfoList.Iterator iterator()
Specified by:
iterator in interface DevCatInfoList
Returns:
an DevCatInfoList.Iterator object for this list


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