When to use Long vs long in java?
问题 Below is my Interface - public interface IDBClient { public String read(ClientInput input); } This is my Implementation of the Interface - public class DatabaseClient implements IDBClient { @Override public String read(ClientInput input) { } } Now I have a factory which gets the instance of DatabaseClient like this - IDBClient client = DatabaseClientFactory.getInstance(); .... Now I need to make a call to read method of my DatabaseClient which accepts the ClientInput parameter and below is