|
||||||
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.BinaryOperation
dk.brics.string.stringoperations.AssertEndsWith
public class AssertEndsWith
Asserts that the second string is a suffix of the first string. This is the mirror of AssertSuffixOf
.
Constructor Summary | |
---|---|
AssertEndsWith()
|
Method Summary | |
---|---|
CharSet |
charsetTransfer(CharSet a1,
CharSet a2)
Transfer function for character set analysis. |
int |
getPriority()
Returns priority of this operation. |
boolean |
isAssertion()
Returns whether this operation is an assertion. |
Automaton |
op(Automaton a1,
Automaton a2)
Binary operation on automata. |
String |
toString()
Returns name of this operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssertEndsWith()
Method Detail |
---|
public CharSet charsetTransfer(CharSet a1, CharSet a2)
BinaryOperation
charsetTransfer
in class BinaryOperation
public int getPriority()
Operation
getPriority
in class Operation
public boolean isAssertion()
BinaryOperation
isAssertion
in class BinaryOperation
public Automaton op(Automaton a1, Automaton a2)
BinaryOperation
op
in class BinaryOperation
a1
- first input automaton, should not be modifieda2
- second input automaton, should not be modified
public String toString()
Operation
toString
in class Operation
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |