gov.sandia.cognition.math.matrix
Class DefaultInfiniteVector.SimpleIterator

java.lang.Object
  extended by gov.sandia.cognition.math.matrix.DefaultInfiniteVector.SimpleIterator
All Implemented Interfaces:
Iterator<InfiniteVector.Entry<KeyType>>
Enclosing class:
DefaultInfiniteVector<KeyType>

protected class DefaultInfiniteVector.SimpleIterator
extends Object
implements Iterator<InfiniteVector.Entry<KeyType>>

Simple iterator for DefaultInfiniteVector


Constructor Summary
DefaultInfiniteVector.SimpleIterator()
          Default constructor
 
Method Summary
 boolean hasNext()
           
 AbstractMutableDoubleMap.SimpleEntry<KeyType> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInfiniteVector.SimpleIterator

public DefaultInfiniteVector.SimpleIterator()
Default constructor

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<InfiniteVector.Entry<KeyType>>

next

public AbstractMutableDoubleMap.SimpleEntry<KeyType> next()
Specified by:
next in interface Iterator<InfiniteVector.Entry<KeyType>>

remove

public void remove()
Specified by:
remove in interface Iterator<InfiniteVector.Entry<KeyType>>