|
|
Home / Groups / ColdFusion Talk (CF-Talk)
OT: Java Code Translation>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. |
Mailing Lists
|
Latest Fusion Authority Articles
|