private static int containingBucket ( int token , long interval ) { return ( int ) ( ( ( ( long ) token - Integer . MIN_VALUE ) / interval ) * interval + Integer . MIN_VALUE ) ; }
Calculate the boundary of the bucket that countain the given token given the token interval .