WebLogic Integration


com.bea.util
Class EmptyIterator

java.lang.Object
  |
  +--com.bea.util.EmptyIterator

public class EmptyIterator
extends java.lang.Object
implements java.util.Iterator

This class uses the null object pattern to insulate clients from having to handle any errors that occur due to errors in the underlying collection operations.

Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
EmptyIterator()
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyIterator

public EmptyIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator


next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator


remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator


WebLogic Integration

WebLogic Integration (WLI)