Is there any convention on how to name your interfaces? I do not mean the implementations, just the interface!
What about the suffix '-able'? Like Runnable, Closeable, Serializable? When to use this?
Is there any convention on how to name your interfaces? I do not mean the implementations, just the interface!
What about the suffix '-able'? Like Runnable, Closeable, Serializable? When to use this?
A common design pattern in Java is to give your interface a very basic name, such as Graph, and then give the implementation the suffix Impl, such as GraphImpl.