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:
hasNext
in interfaceIterator<Tunit extends PamDataUnit>
- Specified by:
hasNext
in interfaceListIterator<Tunit extends PamDataUnit>
-
next
- Specified by:
next
in interfaceIterator<Tunit extends PamDataUnit>
- Specified by:
next
in interfaceListIterator<Tunit extends PamDataUnit>
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<Tunit extends PamDataUnit>
-
previous
- Specified by:
previous
in interfaceListIterator<Tunit extends PamDataUnit>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<Tunit extends PamDataUnit>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<Tunit extends PamDataUnit>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<Tunit extends PamDataUnit>
- Specified by:
remove
in interfaceListIterator<Tunit extends PamDataUnit>
-
set
- Specified by:
set
in interfaceListIterator<Tunit extends PamDataUnit>
-
add
- Specified by:
add
in interfaceListIterator<Tunit extends PamDataUnit>
-