fr.jussieu.gla.wasa.util
Class IntRandomIterator

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.util.IntRandomIterator

public class IntRandomIterator
extends java.lang.Object

A default RandomIterator on int.

Version:
$Revision: 1.2 $ $Date: 2002/04/17 15:24:08 $
Author:
Florent Selva

Constructor Summary
IntRandomIterator(int max)
           
IntRandomIterator(int min, int max)
           
IntRandomIterator(int min, int max, int step)
           
 
Method Summary
 boolean hasNext()
          Returns true if there is more elements in the IntRandomIterator.
 int nextInt()
          Returns the next int.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntRandomIterator

public IntRandomIterator(int min,
                         int max,
                         int step)

IntRandomIterator

public IntRandomIterator(int min,
                         int max)

IntRandomIterator

public IntRandomIterator(int max)
Method Detail

hasNext

public boolean hasNext()
Returns true if there is more elements in the IntRandomIterator.
Returns:
true if there is more elements in the IntRandomIterator, false else.

nextInt

public int nextInt()
Returns the next int.
Returns:
The next int.