JACK 5.4 JACOB Application Interface

aos.apib
Class BaseListEnumeration

java.lang.Object
  extended byaos.apib.BaseListEnumeration
All Implemented Interfaces:
java.util.Enumeration

public class BaseListEnumeration
extends java.lang.Object
implements java.util.Enumeration

BaseListEnumeration is an implementation of the Java Enumeration inteface. It provides an additional method to those provided by the interface, which allows the element currently being pointed to by the Enumeration to be removed.


Constructor Summary
BaseListEnumeration(BaseList l)
          Constructs a new BaseListEnumeration given an initialised BaseList.
 
Method Summary
 boolean hasMoreElements()
          
 java.lang.Object nextElement()
          
 java.lang.Object rm()
          Removes the element current being pointed to by the BaseListEnumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseListEnumeration

public BaseListEnumeration(BaseList l)
Constructs a new BaseListEnumeration given an initialised BaseList.

Parameters:
l - the BaseList used to construct this BaseListEnumeration.
Method Detail

hasMoreElements

public boolean hasMoreElements()

Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()

Specified by:
nextElement in interface java.util.Enumeration

rm

public java.lang.Object rm()
Removes the element current being pointed to by the BaseListEnumeration.

Returns:
the element that was removed from the BaseListEnumeration.

JACK 5.4 JACOB Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088