Those are called java "generics", and they are new to JRE 1.5, so we can't use them with CF yet. Mark
-----Original Message----- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 11:45 AM To: CF-Talk Subject: Re: OT: Java Code Translation 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:264319 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4