House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

OT: Java Code Translation

Author:
Jeff Chastain
12/19/2006 08:58 AM

>Those are called java "generics", and they are new to JRE 1.5, so we >can't use them with CF yet. >  Mark After doing some more digging, with the right terms now, this appears to be correct.  For anybody that wants the full details ... the <T> refers to a java generic which was "invented primarily for implementation of generic collections."  With my limited research, generics appear to be a way to communicate the type of objects in a collection.  Therefore ...    Collection<String> c ... would translate to the argument 'c' being a Collection of String.  This basically allows for the type of objects within a collection to be communicated to the Java compiler and results in "clearer" and "safer" code. In relation to ColdFusion, since it is type-less, this is of no use.


Search cf-talk

February 11, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29