Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.util.datatypes
Class IntegerSet

    java.lang.Object
      toxi.util.datatypes.IntegerSet

    public class IntegerSet

extends java.lang.Object

Field Summary
`int` | `current`
`int` | `currID`
`int[]` | `items`

Constructor Summary
`IntegerSet(int[] items)`
`IntegerSet(java.lang.Integer... items)`

Method Summary
`boolean` | `contains(int value)`
`int` | `getCurrent()`
`int` | `pickRandom()`
`int` | `pickRandomUnique()`
`IntegerSet` | `seed(long seed)`
`void` | `setRandom(java.util.Random rnd)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### items

    public int[] items

### currID

    public int currID

### current

    public int current

Constructor Detail

### IntegerSet

    public IntegerSet(int[] items)

### IntegerSet

    public IntegerSet(java.lang.Integer... items)

Method Detail

### contains

    public boolean contains(int value)

### getCurrent

    public int getCurrent()

### pickRandom

    public int pickRandom()

### pickRandomUnique

    public int pickRandomUnique()

### seed

    public IntegerSet seed(long seed)

### setRandom

    public void setRandom(java.util.Random rnd)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD