Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I was looking into using CF's native Java objects awhile back and this question reminded me of a few blog posts that I had bookmarked as a result of my search.</p> <blockquote> <p>ColdFusion array is actually an implementation of java list (java.util.List). So all the list methods are actually available for Array. CF provides most of the list functionality using Array functions but there are few things possible with java list which you can not do directly with CF functions. </p> <ol> <li>Merge two arrays</li> <li>Append an array in the middle of another array</li> <li>Search for an element in an array</li> <li>Search array 1 to see if array 2's elements are all found</li> <li>Equality check</li> <li>Remove elements in array 1 from array 2</li> </ol> <p>From: <a href="http://coldfused.blogspot.com/2007/01/extend-cf-native-objects-harnessing.html" rel="nofollow noreferrer">http://coldfused.blogspot.com/2007/01/extend-cf-native-objects-harnessing.html</a></p> </blockquote> <p>Another resource I found shows how you can use the native Java Array class to get unique values and to create custom sorts functions in case you need to sort an array of dates, for instance.</p> <p><a href="http://www.barneyb.com/barneyblog/2008/05/08/use-coldfusion-use-java/" rel="nofollow noreferrer">http://www.barneyb.com/barneyblog/2008/05/08/use-coldfusion-use-java/</a></p> <p>This second link contains links to other posts where the author shows how to use other Java classes natively to gain either functionality or speed over CF functions.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload