com.sun.tdk.signaturetest.util
Class SwissKnife

java.lang.Object
  extended by com.sun.tdk.signaturetest.util.SwissKnife

public class SwissKnife
extends java.lang.Object


Constructor Summary
SwissKnife()
           
 
Method Summary
static boolean equals(java.lang.Object x, java.lang.Object y)
          Determines whether the object x is equal to object y.
static java.util.ArrayList stringToArrayList(java.lang.String source, java.lang.String delimiters)
          Converts source string to ArrayList of tokens
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwissKnife

public SwissKnife()
Method Detail

equals

public static boolean equals(java.lang.Object x,
                             java.lang.Object y)
Determines whether the object x is equal to object y. If (x == null) and (y == null) the result is true.

Parameters:
x - - first comparable object, may by null
y - - second comparable object, may by null
Returns:
true if x equal to y

stringToArrayList

public static java.util.ArrayList stringToArrayList(java.lang.String source,
                                                    java.lang.String delimiters)
Converts source string to ArrayList of tokens

Parameters:
source - - source string
delimiters - - argument are the delimiters for separating tokens.
Returns:
ArrayList of tokens found in the source