|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.util.Utility
public class Utility
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 |
|---|
public init()
| Method Detail |
|---|
public string createGUID()
private any getArrays()
public binary getEmptyByteArray()
private any getOne()
private any getSeed()
private any getSeedLocal()
public boolean nativeArrayEquals(any arr1, any arr2)
arr1 - array 1arr2 - array 2public array quickSort(array arrayToCompare, any sorter)
arrayToCompare - The array to comparesorter - UDF for comparing itemsprivate void setArrays(any Arrays)
Arraysprivate void setOne(any one)
oneprivate void setSeedLocal(any seedLocal)
seedLocalpublic numeric trimZero([numeric varToTrim])
varToTrim
|
Transfer version 1.1 | ||||
| FRAMES | |||||