org.farng.mp3.filename
Class FilenameParenthesisIterator

java.lang.Object
  extended by org.farng.mp3.filename.FilenameParenthesisIterator
All Implemented Interfaces:
java.util.Iterator

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

This class is an iterator for the FilenameParenthesis class.

Version:
$Revision: 3 $
Author:
Eric Farng

Constructor Summary
FilenameParenthesisIterator(FilenameParenthesis filenameParenthesis)
          Creates a new FilenameParenthesisIterator object.
 
Method Summary
 boolean hasNext()
          Returns true if the iteration has more elements.
 java.lang.Object next()
          Returns the next element in the iteration.
 void remove()
          This method is not supported in this iterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilenameParenthesisIterator

public FilenameParenthesisIterator(FilenameParenthesis filenameParenthesis)
Creates a new FilenameParenthesisIterator object.

Parameters:
filenameParenthesis - FilenameParenthesis object to iterate through
Method Detail

hasNext

public boolean hasNext()
Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Specified by:
hasNext in interface java.util.Iterator
Returns:
true if the iteration has more elements

next

public java.lang.Object next()
Returns the next element in the iteration.

Specified by:
next in interface java.util.Iterator
Returns:
the next element in the iteration.

remove

public void remove()
This method is not supported in this iterator.

Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException - This method is not supported in this iterator