|
||||||
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.Replace2
public class Replace2
Automaton operation for String.replace(char,char)
where only the first character is known.
Constructor Summary | |
---|---|
Replace2(char c)
Automaton operation for String.replace(char,char) where only the first character is 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 Replace2(char c)
String.replace(char,char)
where only the first character is known.
c
- the known value of the first argument.Method Detail |
---|
public CharSet charsetTransfer(CharSet a)
UnaryOperation
charsetTransfer
in class UnaryOperation
public boolean equals(Object obj)
equals
in class Object
public int getPriority()
Operation
getPriority
in class Operation
public int hashCode()
hashCode
in class Object
public Automaton op(Automaton a)
op
in class UnaryOperation
a
- 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 |