Cisco Systems, Inc.

com.pcube.apps.engage.common
Class UsablesIterator

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

public class UsablesIterator
extends Object
implements Iterator

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

Author:
rafis

Constructor Summary
UsablesIterator(Iterator iter)
           
 
Method Summary
 boolean hasNext()
           
 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(Iterator iter)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator

Cisco Systems, Inc.

Copyright © 2011 Cisco Systems, Inc. Confidential.