dk.brics.string.stringoperations
Class BooleanToString

java.lang.Object
  extended by dk.brics.string.stringoperations.Operation
      extended by dk.brics.string.stringoperations.UnaryOperation
          extended by dk.brics.string.stringoperations.BooleanToString

public class BooleanToString
extends UnaryOperation

Converts a primitive boolean to a string.

Author:
Asger

Constructor Summary
BooleanToString()
           
 
Method Summary
 CharSet charsetTransfer(CharSet a)
          Transfer function for character set analysis.
 int getPriority()
          Returns priority of this operation.
 Automaton op(Automaton a)
          Unary operation on automata.
 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanToString

public BooleanToString()
Method Detail

charsetTransfer

public CharSet charsetTransfer(CharSet a)
Description copied from class: UnaryOperation
Transfer function for character set analysis.

Specified by:
charsetTransfer in class UnaryOperation

getPriority

public int getPriority()
Description copied from class: Operation
Returns priority of this operation. When approximating operation loops in grammars, operations with high priority are considered first.

Specified by:
getPriority in class Operation

op

public Automaton op(Automaton a)
Description copied from class: UnaryOperation
Unary operation on automata.

Specified by:
op in class UnaryOperation
Parameters:
a - input automaton, should not be modified
Returns:
output automaton

toString

public String toString()
Description copied from class: Operation
Returns name of this operation.

Specified by:
toString in class Operation


Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.