Jeff Chastain wrote: > I am trying to convert some Java code into ColdFusion and apparently my Java > is a bit rusty. Can anybody explain the difference between the following two > statements? > > public static <T> IExpectationSetters<T> expect(T value) { > > public static IExpectationSetters<Object> expectLastCall() { > > Specifically, I am trying to figure out what <T> represents.
I've never seen actual java code like that in my life. It looks more like tagged documentation of java code, and the <t> just represents the tag for the data type, which in this case is "IExpectationSetters" Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264314 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4