Peach :: Generators :: data :: _AsInt :: Class _AsInt
[hide private]

Class _AsInt

source code


Base class for AsIntXX functions that implements logic to skip values that are the same.

Instance Methods [hide private]
 
_getValue(self) source code
 
next(self)
Our implementation of next will return skip values that are the same as the last value generated.
source code
 
reset(self) source code
 
getRawValue(self) source code
Class Variables [hide private]
  _last = None
  _inMe = 0
Method Details [hide private]

next(self)

source code 

Our implementation of next will return skip values that are the same as the last value generated.

This is done because packing larger numbers down can result in the same value lots of times.