Package coneforest.psylla.core
Class PsyCondition
- java.lang.Object
-
- coneforest.psylla.core.PsyCondition
-
- All Implemented Interfaces:
PsyConvertableToName
,PsyConvertableToString
,PsyObject
public class PsyCondition extends Object implements PsyObject
A representation of Ψ-condition
object.
-
-
Constructor Summary
Constructors Constructor Description PsyCondition(Condition condition)
Constructs a Ψ-condition
object that wraps given condition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
psyNotify()
void
psyWait()
Causes the current context to wait until it is notified or interrupted.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
-
-
-
Constructor Detail
-
PsyCondition
public PsyCondition(Condition condition)
Constructs a Ψ-condition
object that wraps given condition.- Parameters:
condition
- a condition.
-
-
Method Detail
-
psyNotify
public void psyNotify()
-
psyWait
public void psyWait() throws PsyException
Causes the current context to wait until it is notified or interrupted.- Throws:
PsyInterruptException
- when current context is interrupted.PsyException
-
-