Top Fields Constructors Methods
org.glassfish.grizzly.http.util

pack-priv abstract Class BaseIterator

Located in compilation unit of org.glassfish.grizzly.http.util.MimeHeaders.

extends Object
implements Iterator<String>
Class Inheritance
All Implemented Interfaces
java.util.Iterator
Known Direct Subclasses
org.glassfish.grizzly.http.util.NamesIterator, org.glassfish.grizzly.http.util.ValuesIterator

Field Summary

Modifier and TypeField and Description
pack-priv int
protected final MimeHeaders
pack-priv int
pack-priv int

Constructor Summary

AccessConstructor and Description
public
BaseIterator(final MimeHeaders headers)

Method Summary

Modifier and TypeMethod and Description
protected abstract void
public void
remove()

Overrides default java.util.Iterator.remove.

Removes from the underlying collection the last element returned by this iterator (optional operation).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentPosback to summary
pack-priv int currentPos
headersback to summary
protected final MimeHeaders headers
posback to summary
pack-priv int pos
sizeback to summary
pack-priv int size

Constructor Detail

BaseIteratorback to summary
public BaseIterator(final MimeHeaders headers)

Method Detail

findNextback to summary
protected abstract void findNext()
removeback to summary
public void remove()

Overrides default java.util.Iterator.remove.

Doc from java.util.Iterator.remove.

Removes from the underlying collection the last element returned by this iterator (optional operation). This method can be called only once per call to next.

The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.

The behavior of an iterator is unspecified if this method is called after a call to the forEachRemaining method.

Annotations
@Override