edu.rice.cs.drjava.model.repl.newjvm
Class InterpretResult
java.lang.Object
edu.rice.cs.drjava.model.repl.newjvm.InterpretResult
- All Implemented Interfaces:
- Serializable
public abstract class InterpretResult
- extends Object
- implements Serializable
Super class for any type of result that can occur from a call to interpret.
- Version:
- $Id: InterpretResult.java 4314 2008-01-30 00:08:33Z mgricken $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterpretResult
public InterpretResult()
apply
public abstract <T> T apply(InterpretResult.Visitor<T> v)
busy
public static InterpretResult busy()
exception
public static InterpretResult exception(edu.rice.cs.dynamicjava.interpreter.InterpreterException e)
unexpectedException
public static InterpretResult unexpectedException(Throwable t)
noValue
public static InterpretResult noValue()
stringValue
public static InterpretResult stringValue(String s)
charValue
public static InterpretResult charValue(Character c)
numberValue
public static InterpretResult numberValue(Number n)
booleanValue
public static InterpretResult booleanValue(Boolean b)
objectValue
public static InterpretResult objectValue(String objS)