minidns icon indicating copy to clipboard operation
minidns copied to clipboard

Investigate if the API would become more user friendly if Question had a generic type

Open Flowdalic opened this issue 8 years ago • 0 comments

So instead of

Question question = new Question("example.org", TYPE.A)
ResolverResult<?> res = ResolverApi.INSTANCE.resolve(question);

we'd possible had

Question<A> question = new Question<A>("example.org", TYPE.A)
ResolverResult<A> res = ResolverApi.INSTANCE.resolve(question);

Flowdalic avatar Jun 22 '17 07:06 Flowdalic