I don't think you want that to be static. Each instance should have its own bucket.
And a nit: seeing as how your class is named 'Bucket' you may want to rename this to something else, like 'count'. This won't have any impact on how it works but it might make reading it a little clearer.
De Huaste wrote:
I agree and to be honest, I need to re-read my assignment operators. But if you're offering wisdom, I'll certainly listen.
Just as you might write on paper for an algebra problem, X = +Y. That is, where X = -Y is "X equals negative Y", similarly X = +Y is "X = positive Y", which of course is the same as "X = Y". Same thing in Java