| 
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.brics.string.stringoperations.Operation
dk.brics.string.stringoperations.UnaryOperation
dk.brics.string.stringoperations.Replace1
public class Replace1
Automaton operation for String.replace(char,char) where both characters are known.
| Constructor Summary | |
|---|---|
Replace1(char c,
         char d)
Automaton operation for String.replace(char,char) where both characters are known. | 
|
| Method Summary | |
|---|---|
 CharSet | 
charsetTransfer(CharSet a)
Transfer function for character set analysis.  | 
 boolean | 
equals(Object obj)
 | 
 int | 
getPriority()
Returns priority of this operation.  | 
 int | 
hashCode()
 | 
 Automaton | 
op(Automaton a)
Automaton operation.  | 
 String | 
toString()
Returns name of this operation.  | 
| Methods inherited from class dk.brics.string.stringoperations.UnaryOperation | 
|---|
isAssertion | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Replace1(char c,
                char d)
String.replace(char,char) where both characters are known.
c - the known value of the first argumentd - the known value of the second argument| Method Detail | 
|---|
public CharSet charsetTransfer(CharSet a)
UnaryOperation
charsetTransfer in class UnaryOperationpublic boolean equals(Object obj)
equals in class Objectpublic int getPriority()
Operation
getPriority in class Operationpublic int hashCode()
hashCode in class Objectpublic Automaton op(Automaton a)
op in class UnaryOperationa - input automaton
public String toString()
Operation
toString in class Operation
  | 
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||