at.jku.fim.datalinksimulation.layer1.data
Class RawData.RawDataIterator

java.lang.Object
  extended by at.jku.fim.datalinksimulation.layer1.data.RawData.RawDataIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
RawData

private class RawData.RawDataIterator
extends java.lang.Object
implements java.util.Iterator

Iterator Implementation

Title: OSI Simulation Framework

Copyright: (c) 2004-05

Company: FIM@JKU, www.fim.uni-linz.ac.at

Version:
Innerclass of $Id: RawData.java,v 1.1 2005/10/27 13:10:11 aputzinger Exp $
Author:
Andreas Putzinger

Field Summary
private  int expectedModCounter
           
private  int posCounter
           
 
Constructor Summary
RawData.RawDataIterator()
          Creates new instance of iterator; sets local modification counter
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
          Returnes next Integer object;
Throws ConcurrentModificationException if data was modified since creation of iterator
Throws NoSuchElementException if no Byte left
 void remove()
          Method not Implemented; Throws an UnsupportedOperationException!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

posCounter

private int posCounter

expectedModCounter

private int expectedModCounter
Constructor Detail

RawData.RawDataIterator

public RawData.RawDataIterator()
Creates new instance of iterator; sets local modification counter

Method Detail

remove

public void remove()
Method not Implemented; Throws an UnsupportedOperationException!

Specified by:
remove in interface java.util.Iterator
See Also:
Iterator.remove()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Returnes next Integer object;
Throws ConcurrentModificationException if data was modified since creation of iterator
Throws NoSuchElementException if no Byte left

Specified by:
next in interface java.util.Iterator
See Also:
Iterator.next()