API:Client code/Java/diq