com.algosome.common.util
Class StringAnalyzer

java.lang.Object
  extended by com.algosome.common.util.StringAnalyzer

public class StringAnalyzer
extends java.lang.Object

Class used to Strings.


Constructor Summary
StringAnalyzer()
           
 
Method Summary
static int countOccurancesOf(java.lang.String a, java.lang.String b)
          Counts and returns the number of times string b occures in String a
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringAnalyzer

public StringAnalyzer()
Method Detail

countOccurancesOf

public static int countOccurancesOf(java.lang.String a,
                                    java.lang.String b)
Counts and returns the number of times string b occures in String a

Parameters:
a - The Haystack
b - The Needle