- All Superinterfaces:
PsyObject
- All Known Implementing Classes:
PsyConcurrentModificationException,PsyDictStackUnderflowException,PsyDirectoryNotEmptyException,PsyErrorException,PsyFileAccessDeniedException,PsyFileExistsException,PsyFileNotFoundException,PsyFileSystemErrorException,PsyInternalErrorException,PsyInterruptException,PsyInvalidContextException,PsyInvalidExitException,PsyInvalidExternalException,PsyInvalidRegExpException,PsyInvalidStateException,PsyIOErrorException,PsyLimitCheckException,PsyNotDirectoryException,PsyNotImplementedException,PsyNotLinkException,PsyOperator,PsyProc,PsyRangeCheckException,PsySecurityErrorException,PsyStackUnderflowException,PsySyntaxErrorException,PsyTypeCheckException,PsyUndefinedException,PsyUndefinedResultException,PsyUnmatchedMarkException,PsyUnregisteredException,PsyUnsupportedException
-
Field Summary
Fields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPE -
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends PsyObject>
BinaryOperator<T> asBinaryOperator(PsyContext oContext) Returns anBinaryOperatorview of thisexecutable.default <T extends PsyObject>
Comparator<T> asComparator(PsyContext oContext) Returns anComparatorview of thisexecutable.asConsumer(PsyContext oContext) Returns anConsumerview of thisexecutable.asFunction(PsyContext oContext) Returns aFunctionview of thisexecutable.asPredicate(PsyContext oContext) Returns aPredicateview of thisexecutable.asSupplier(PsyContext oContext) Returns anSupplierview of thisexecutable.default <T extends PsyObject>
UnaryOperator<T> asUnaryOperator(PsyContext oContext) Returns anUnaryOperatorview of thisexecutable.voidinvoke(PsyContext oContext) Invoke thisobjectin the given execution context.default voidinvokeAndHandle(PsyContext oContext) Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToString, psyToStringBuffer, psyType, toSyntaxString, typeName
-
Method Details
-
invoke
Description copied from interface:PsyObjectInvoke thisobjectin the given execution context. Pushes thisobjectinto context’s operand stack. -
invokeAndHandle
-
asPredicate
Returns aPredicateview of thisexecutable.- Type Parameters:
T- the type of the input to the predicate.- Parameters:
oContext- thecontextin which this predicate will be invoked.- Returns:
- a
Predicateview of thisexecutable
-
asFunction
Returns aFunctionview of thisexecutable.- Type Parameters:
T- the type of the input to the function.R- the type of the return value of the function.- Parameters:
oContext- thecontextin which this function will be invoked.- Returns:
- a
Functionview of thisexecutable
-
asUnaryOperator
Returns anUnaryOperatorview of thisexecutable.- Type Parameters:
T- the type of the input to the operator and its return value.- Parameters:
oContext- thecontextin which this operator will be invoked.- Returns:
- an
UnaryOperatorview of thisexecutable
-
asBinaryOperator
Returns anBinaryOperatorview of thisexecutable.- Type Parameters:
T- the type of the inputs to the operator and its return value.- Parameters:
oContext- thecontextin which this operator will be invoked.- Returns:
- an
BinaryOperatorview of thisexecutable
-
asComparator
Returns anComparatorview of thisexecutable.- Type Parameters:
T- the type of the inputs to the comparator.- Parameters:
oContext- thecontextin which this comparator will be invoked.- Returns:
- an
Comparatorview of thisexecutable
-
asSupplier
Returns anSupplierview of thisexecutable.- Type Parameters:
T- the type of the return value of the supplier.- Parameters:
oContext- thecontextin which this supplier will be invoked.- Returns:
- an
Supplierview of thisexecutable
-
asConsumer
Returns anConsumerview of thisexecutable.- Type Parameters:
T- the type of the input to the consumer.- Parameters:
oContext- thecontextin which this consumer will be invoked.- Returns:
- an
Consumerview of thisexecutable
-