|
||||||
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.AssertNotEmpty
public class AssertNotEmpty
Asserts that the string is not empty. There is no AssertEmpty operation since an assignment to the empty string is used instead.
Constructor Summary | |
---|---|
AssertNotEmpty()
|
Method Summary | |
---|---|
CharSet |
charsetTransfer(CharSet a)
Transfer function for character set analysis. |
int |
getPriority()
Returns priority of this operation. |
boolean |
isAssertion()
Returns whether this is an assertion. |
Automaton |
op(Automaton a)
Unary 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 AssertNotEmpty()
Method Detail |
---|
public CharSet charsetTransfer(CharSet a)
UnaryOperation
charsetTransfer
in class UnaryOperation
public int getPriority()
Operation
getPriority
in class Operation
public boolean isAssertion()
UnaryOperation
isAssertion
in class UnaryOperation
public Automaton op(Automaton a)
UnaryOperation
op
in class UnaryOperation
a
- 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 |