Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.common.util
Class ArrayUtils

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.util.ArrayUtils

public class ArrayUtils
extends java.lang.Object


Constructor Summary
ArrayUtils()
           
 
Method Summary
static int findStringInArray(java.lang.String pStringToFind, java.lang.String[] pStringToFindInArraysa)
          Utility method that checks for a String in a String[]
static boolean isStringInArray(java.lang.String pStringToFind, java.lang.String[] pStringToFindInArraysa)
          Utility method that checks if the given Sting is part of String[]
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtils

public ArrayUtils()
Method Detail

findStringInArray

public static int findStringInArray(java.lang.String pStringToFind,
                                    java.lang.String[] pStringToFindInArraysa)
Utility method that checks for a String in a String[]

Parameters:
pStringToFind - String to be find
pStringToFindInArraysa - of String array in which you want to find the string
Returns:
positive integer (String index in array) if found elsse return -1

isStringInArray

public static boolean isStringInArray(java.lang.String pStringToFind,
                                      java.lang.String[] pStringToFindInArraysa)
Utility method that checks if the given Sting is part of String[]

Parameters:
pStringToFind - String to be find
pStringToFindInArraysa - of String array in which you want to find the string
Returns:
true if found else false

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.