|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcodesimian.Strings
public class Strings
| Nested Class Summary | |
|---|---|
static class |
Strings.PrintCS
Prints the toString() of param0. |
static class |
Strings.PrintNumber
Prints the value of param0.D() to standard output. |
static class |
Strings.PrintString
Prints a String to standard output, or if countP()==2 prints to P(1). |
static class |
Strings.ReadChar
Reads a char from standard input (usually keyboard). |
static class |
Strings.StringSplit
same as java.lang.String.split(String regularExpressionDelimiter), but copied here so applets (on the internet) can use it without complaining about security of dynamic method calls. |
static class |
Strings.TokenizeAllCharPairs
|
| Constructor Summary | |
|---|---|
Strings()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
escape(java.lang.String includesEscapeChars)
In a String with escape characters (preceded by \) removes \ and the following char and replaces it with whatever standard string rules say. |
static int[] |
quantityOfEachLetter(java.lang.String x)
returns an array size 26, how many of each letter (case INsensitive) is in the String |
static java.lang.String |
replace(java.lang.String theString,
java.lang.String replaceMe,
java.lang.String replaceWith)
|
static double |
similarity(java.lang.String a,
java.lang.String b)
returns some interpretation of similarity. |
static NothingList |
stringToCharList(java.lang.String myChars)
Returns a CS whose params are Const's with the char values from the string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Strings()
| Method Detail |
|---|
public static NothingList stringToCharList(java.lang.String myChars)
public static double similarity(java.lang.String a,
java.lang.String b)
public static int[] quantityOfEachLetter(java.lang.String x)
public static java.lang.String escape(java.lang.String includesEscapeChars)
public static java.lang.String replace(java.lang.String theString,
java.lang.String replaceMe,
java.lang.String replaceWith)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||