minidns
minidns copied to clipboard
Investigate if the API would become more user friendly if Question had a generic type
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);