core
Class handleData

java.lang.Object
  extended by core.handleData

public class handleData
extends java.lang.Object


Constructor Summary
handleData()
           
 
Method Summary
static java.lang.String arrToString(java.lang.String[] s)
          arrToString Converts an array into a string in a list format
static int getLastIndex(java.lang.Object[] arr)
          getLastIndex Gets the last none-null index of the array
static java.lang.String[] removeFirst(java.lang.String[] oldArr)
          removeFirst: Removes the first element of the old array.
static java.lang.String upperFirst(java.lang.String oldString)
          upperFirst: Converts the first letter of the string to an uppercase letter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

handleData

public handleData()
Method Detail

removeFirst

public static java.lang.String[] removeFirst(java.lang.String[] oldArr)
removeFirst: Removes the first element of the old array.

Returns:
new array with length = (old array length - 1)

upperFirst

public static java.lang.String upperFirst(java.lang.String oldString)
upperFirst: Converts the first letter of the string to an uppercase letter

Returns:
new string

arrToString

public static java.lang.String arrToString(java.lang.String[] s)
arrToString Converts an array into a string in a list format

Returns:
array listed as string

getLastIndex

public static int getLastIndex(java.lang.Object[] arr)
getLastIndex Gets the last none-null index of the array