java

Hide your public implementations of Interface from rest of the world

Most of the time you're building a real world application you have to use a lot of interface, and now and then they contains public method signature which you don't want to be exposed to the developer using your API or subclassing your class or creating instance of the class…