Transfer version 1.1

transfer.com.util
Class Utility

WEB-INF.cftags.component
        extended by transfer.com.util.Utility

public class Utility
extends WEB-INF.cftags.component

Utility class for general static methods


Constructor Summary
init()
          Constructor
 
Method Summary
 string createGUID()
          Returns a MS GUID, that is performant for indexing as per http://www.informit.com/articles/article.asp?p=25862
private any getArrays()
 binary getEmptyByteArray()
          returns an empty byte array
private any getOne()
private any getSeed()
          get's a unique seed for this thread for the create GUID method
private any getSeedLocal()
 boolean nativeArrayEquals(any arr1, any arr2)
          compare 2 java arrays
 array quickSort(array arrayToCompare, any sorter)
          Implementation of quicksort
private void setArrays(any Arrays)
private void setOne(any one)
private void setSeedLocal(any seedLocal)
 numeric trimZero([numeric varToTrim])
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init()
Constructor

Method Detail

createGUID

public string createGUID()
Returns a MS GUID, that is performant for indexing as per http://www.informit.com/articles/article.asp?p=25862


getArrays

private any getArrays()


getEmptyByteArray

public binary getEmptyByteArray()
returns an empty byte array


getOne

private any getOne()


getSeed

private any getSeed()
get's a unique seed for this thread for the create GUID method


getSeedLocal

private any getSeedLocal()


nativeArrayEquals

public boolean nativeArrayEquals(any arr1, any arr2)
compare 2 java arrays

Parameters:
arr1 - array 1
arr2 - array 2

quickSort

public array quickSort(array arrayToCompare, any sorter)
Implementation of quicksort

Parameters:
arrayToCompare - The array to compare
sorter - UDF for comparing items

setArrays

private void setArrays(any Arrays)

Parameters:
Arrays

setOne

private void setOne(any one)

Parameters:
one

setSeedLocal

private void setSeedLocal(any seedLocal)

Parameters:
seedLocal

trimZero

public numeric trimZero([numeric varToTrim])

Parameters:
varToTrim

Transfer version 1.1