com.banda.function.domain
Class RangeFunEnumerator<T>

java.lang.Object
  extended by com.banda.function.domain.RangeFunEnumerator<T>
All Implemented Interfaces:
Enumerator<Collection<T>>, FunctionInputEnumerator<T>

public abstract class RangeFunEnumerator<T>
extends Object
implements FunctionInputEnumerator<T>


Constructor Summary
RangeFunEnumerator(Integer arity, T rangeFrom, T rangeTo)
           
 
Method Summary
protected abstract  T[] createNewArray()
           
 Collection<Collection<T>> enumerate()
           
protected abstract  T incStep(T element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeFunEnumerator

public RangeFunEnumerator(Integer arity,
                          T rangeFrom,
                          T rangeTo)
Method Detail

incStep

protected abstract T incStep(T element)

createNewArray

protected abstract T[] createNewArray()

enumerate

public Collection<Collection<T>> enumerate()
Specified by:
enumerate in interface Enumerator<Collection<T>>


Copyright © 2012. All Rights Reserved.