no, you cannot instantiate <?>, but you can instantiate <Void> and assign it to <?> as per my example below
-igor On Mon, May 25, 2009 at 6:05 AM, James Carman <[email protected]> wrote: > On Sun, May 24, 2009 at 11:16 PM, Igor Vaynberg <[email protected]> > wrote: >> final Link<?> link = new BookmarkablePageLink<Void>("a-contact", >> >> if you are not intending on using the model use <?> which will help enforce >> that > > Care to elaborate on that? How does <?> assure that folks aren't > going to use the model better than <Void>? You can't instantiate a > BookmarkablePageLink<?>. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
