Cisco Systems, Inc.

com.pcube.apps.engage.common
Class UsablesIterator

java.lang.Object
  extended by com.pcube.apps.engage.common.UsablesIterator
All Implemented Interfaces:
java.util.Iterator

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

Iterate through a collection of array elements that implement the isUsed interface. The iterator returns only "used" elements.

Author:
rafis

Constructor Summary
UsablesIterator(java.util.Iterator iter)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsablesIterator

public UsablesIterator(java.util.Iterator iter)
Method Detail

hasNext

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

next

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

remove

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

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.