What is the difference between java.lang.class<Cls> and just Cls?
I need to pass this to a function:
java.lang.Class<org.xbib.elasticsearch.action.termlist.TermlistRequest>
I tried new TermlistRequest() but it is this:
org.xbib.elasticsearch.action.termlist.TermlistRequest
Can you explain what is it in Java? And how to create an object of this type?
java.lang.class - what I missed was I needed to append .class to Cls to get the type java.lang.class<Cls>