Class IntegerSet

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

public class IntegerSet extends Object
  • Field Details

    • items

      public int[] items
    • currID

      public int currID
    • current

      public int current
  • Constructor Details

    • IntegerSet

      public IntegerSet(int[] items)
    • IntegerSet

      public IntegerSet(Integer... items)
  • Method Details

    • 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(Random rnd)