commented out version of next() and hasNext() that appear to be correct but are causing testing problems
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1596 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
58105636c8
commit
3949b4ac72
|
|
@ -30,7 +30,7 @@ public class RODIterator<ROD extends ReferenceOrderedDatum> implements Iterator<
|
|||
|
||||
@Override
|
||||
public boolean hasNext() { return it.hasNext(); }
|
||||
|
||||
|
||||
@Override
|
||||
public ROD next() {
|
||||
ROD next = it.next();
|
||||
|
|
@ -41,6 +41,26 @@ public class RODIterator<ROD extends ReferenceOrderedDatum> implements Iterator<
|
|||
return next;
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public boolean hasNext() { return current != null || it.hasNext(); }
|
||||
//
|
||||
// @Override
|
||||
// public ROD next() {
|
||||
// if ( current != null ) {
|
||||
// ROD prev = current;
|
||||
// current = null;
|
||||
// return prev;
|
||||
// } else {
|
||||
// ROD next = it.next();
|
||||
// if( next != null ) {
|
||||
// position = next.getLocation().clone();
|
||||
// //current = next;
|
||||
// }
|
||||
//
|
||||
// return next;
|
||||
// }
|
||||
// }
|
||||
|
||||
/**
|
||||
* Returns the current position of this iterator.
|
||||
* @return Current position of the iterator, or null if no position exists.
|
||||
|
|
|
|||
Loading…
Reference in New Issue