Package PamguardMVC
Class ReverseChannelIterator<Tunit extends PamDataUnit>
java.lang.Object
PamguardMVC.ReverseChannelIterator<Tunit>
- Type Parameters:
Tunit-
- All Implemented Interfaces:
Iterator<Tunit>,ListIterator<Tunit>
public class ReverseChannelIterator<Tunit extends PamDataUnit>
extends Object
implements ListIterator<Tunit>
Iterator for going backwards through a datablock, but only selecting data untits that
have a specific channel.
- Author:
- Doug Gillespie
-
Constructor Details
-
ReverseChannelIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<Tunit extends PamDataUnit>- Specified by:
hasNextin interfaceListIterator<Tunit extends PamDataUnit>
-
next
- Specified by:
nextin interfaceIterator<Tunit extends PamDataUnit>- Specified by:
nextin interfaceListIterator<Tunit extends PamDataUnit>
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<Tunit extends PamDataUnit>
-
previous
- Specified by:
previousin interfaceListIterator<Tunit extends PamDataUnit>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<Tunit extends PamDataUnit>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<Tunit extends PamDataUnit>
-
remove
public void remove()- Specified by:
removein interfaceIterator<Tunit extends PamDataUnit>- Specified by:
removein interfaceListIterator<Tunit extends PamDataUnit>
-
set
- Specified by:
setin interfaceListIterator<Tunit extends PamDataUnit>
-
add
- Specified by:
addin interfaceListIterator<Tunit extends PamDataUnit>
-