gov.nist.javax.sip.message
Class HeaderIterator
java.lang.Object
gov.nist.javax.sip.message.HeaderIterator
- All Implemented Interfaces:
- Iterator, ListIterator
public class HeaderIterator
- extends Object
- implements ListIterator
Iterator over lists of headers. Allows for uniform removal handling for singleton headers.
- Since:
- 1.1
- Version:
- 1.2 $Revision: 1.8 $ $Date: 2009/07/17 18:57:53 $
- Author:
- M. Ranganathan
next
public Object next()
throws NoSuchElementException
- Specified by:
next
in interface Iterator
- Specified by:
next
in interface ListIterator
- Throws:
NoSuchElementException
previous
public Object previous()
throws NoSuchElementException
- Specified by:
previous
in interface ListIterator
- Throws:
NoSuchElementException
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface ListIterator
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface ListIterator
set
public void set(Object header)
- Specified by:
set
in interface ListIterator
add
public void add(Object header)
- Specified by:
add
in interface ListIterator
remove
public void remove()
throws IllegalStateException
- Specified by:
remove
in interface Iterator
- Specified by:
remove
in interface ListIterator
- Throws:
IllegalStateException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
- Specified by:
hasNext
in interface ListIterator
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface ListIterator
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.