Campbell Ritchie wrote:I Googled for "constant interface antipattern" and got this. Open it, use ctrl-F "constant" and you will see the answer to your question.
Campbell Ritchie wrote:You're welcome.
You will now have seen, class is the answer to your problem
Static imports - a handy way of simplifying code and avoiding interfaces full of constants