org.shapelogic.calculation
Class AdvanceWhile<E>

java.lang.Object
  extended by org.shapelogic.calculation.AdvanceWhile<E>
Type Parameters:
E -

public abstract class AdvanceWhile<E>
extends java.lang.Object

This causes the iterator to be advanced as long as the the condition is true.

Author:
Sami Badawi

Constructor Summary
AdvanceWhile(java.util.Iterator<E> iterator)
           
 
Method Summary
abstract  boolean evaluate(E input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvanceWhile

public AdvanceWhile(java.util.Iterator<E> iterator)
Method Detail

evaluate

public abstract boolean evaluate(E input)


Copyright © 2009. All Rights Reserved.