org.objectstyle.ashwood.random
Class Roulette
java.lang.Object
org.objectstyle.ashwood.random.Roulette
- All Implemented Interfaces:
- java.util.Iterator
- public class Roulette
- extends java.lang.Object
- implements java.util.Iterator
|
Constructor Summary |
Roulette(int sectorCount)
|
Roulette(int[] sectors,
java.util.Random randomizer)
|
Roulette(int sectorCount,
int sectorSelectionCount,
java.util.Random randomizer)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Roulette
public Roulette(int sectorCount)
Roulette
public Roulette(int sectorCount,
int sectorSelectionCount,
java.util.Random randomizer)
Roulette
public Roulette(int[] sectors,
java.util.Random randomizer)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator
Copyright © 2003 ObjectStyle.org - ASHWOOD All Rights Reserved.