- All Known Subinterfaces:
PsyAdditive<T>,PsyAppendable<T>,PsyArithmetic<T>,PsyBitwise<T>,PsyBounded,PsyClearable,PsyCloseable,PsyConcatenable<T>,PsyContainer<T>,PsyContext,PsyConvertableToInteger,PsyConvertableToIntegral,PsyConvertableToRational,PsyConvertableToReal,PsyEvaluable,PsyExecutable,PsyFlushable,PsyFormalArray<T>,PsyFormalDict<V>,PsyFormalQueue<T>,PsyFormalSet<T>,PsyFormalStream<T>,PsyIndexed<K,,V> PsyIntegral,PsyIterable<T>,PsyLengthy,PsyLogical<T>,PsyMultiplicative<T>,PsyNumeric,PsyRational,PsyReadable,PsyReady,PsyRealNumeric,PsyResetable,PsyScalar<T>,PsySequential<T>,PsyStreamable<T>,PsyTextual,PsyValue,PsyWritable
- All Known Implementing Classes:
Interpreter,PsyArray,PsyBigFraction,PsyBigInteger,PsyBitArray,PsyBitSet,PsyBlockingQueue,PsyBoolean,PsyComplex,PsyConcurrentModificationException,PsyCondition,PsyConfigDict,PsyDict,PsyDictStackUnderflowException,PsyDirectoryNotEmptyException,PsyEnvironment,PsyErrorException,PsyExecMark,PsyFileAccessDeniedException,PsyFileExistsException,PsyFileInput,PsyFileNotFoundException,PsyFileReader,PsyFileSystemErrorException,PsyFileWriter,PsyFraction,PsyInput,PsyInteger,PsyInternalErrorException,PsyInterruptException,PsyInvalidContextException,PsyInvalidExitException,PsyInvalidExternalException,PsyInvalidRegExpException,PsyInvalidStateException,PsyIOErrorException,PsyLimitCheckException,PsyLock,PsyMark,PsyMatcher,PsyModule,PsyName,PsyNamespace,PsyNotDirectoryException,PsyNotImplementedException,PsyNotLinkException,PsyNull,PsyOperator,PsyOutput,PsyProc,PsyProcess,PsyRandom,PsyRange,PsyRangeCheckException,PsyReader,PsyReal,PsyRegExp,PsySecurityErrorException,PsySet,PsyStackUnderflowException,PsyStream,PsyString,PsyStringBuffer,PsyStringReader,PsyStringWriter,PsySyntaxErrorException,PsySystemDict,PsyTypeCheckException,PsyUndefinedException,PsyUndefinedResultException,PsyUnmatchedMarkException,PsyUnregisteredException,PsyUnsupportedException,PsyWriter
The representation of an
object, a generic Psylla object.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ContextActionContext action of thecloneoperator.static final ContextActionContext action of theeqoperator.static final ContextActionContext action of thehashcodeoperator.static final ContextActionContext action of theinstanceofoperator.static final ContextActionContext action of theneoperator.static final ContextActionContext action of thetostringoperator.static final ContextActionContext action of thetostringbufferoperator.static final ContextActionContext action of thetypeoperator. -
Method Summary
Modifier and TypeMethodDescriptiondefault PsyStringBufferconvert(Class<PsyStringBuffer> clazz) default voidexecute(PsyContext oContext) Execute thisobjectin the given execution context.default voidinvoke(PsyContext oContext) Invoke thisobjectin the given execution context.default PsyObjectpsyClone()Returns a clone of this object.default PsyBooleanReturns abooleanresult of equality test of thisobjectand givenobject.default PsyIntegerReturns anintegerhash code for this object.default PsyBooleanpsyInstanceOf(PsyTextual oTypeName) default PsyBooleandefault PsyStringReturns a syntactic representation of this object as aname.default PsyStringReturns astringrepresenting this object.default PsyStringBufferReturns astringbufferrepresenting this object.default PsyStringpsyType()default StringReturns the syntactic representation of this object.default StringtypeName()Returns a string representation of thisobject’s type name.
-
Field Details
-
PSY_CLONE
Context action of thecloneoperator. -
PSY_EQ
Context action of theeqoperator. -
PSY_HASHCODE
Context action of thehashcodeoperator. -
PSY_INSTANCEOF
Context action of theinstanceofoperator. -
PSY_NE
Context action of theneoperator. -
PSY_TOSTRING
Context action of thetostringoperator. -
PSY_TOSTRINGBUFFER
Context action of thetostringbufferoperator. -
PSY_TYPE
Context action of thetypeoperator.
-
-
Method Details
-
typeName
Returns a string representation of thisobject’s type name.- Returns:
- a string representation of this
object’s type name
-
psyType
-
execute
Execute thisobjectin the given execution context. Pushes thisobjectinto context’s operand stack.- Parameters:
oContext- the execution context.
-
invoke
Invoke thisobjectin the given execution context. Pushes thisobjectinto context’s operand stack.- Parameters:
oContext- the execution context.
-
psyEq
Returns abooleanresult of equality test of thisobjectand givenobject.- Parameters:
o- theobjectto be compared for equality.- Returns:
- a
booleanresult of equality test of thisobjectand givenobject
-
psyNe
-
psyClone
Returns a clone of this object.- Returns:
- a clone of this object
-
psySyntax
Returns a syntactic representation of this object as aname.- Returns:
- a syntactic representation of this object as a
name
-
psyToStringBuffer
Returns astringbufferrepresenting this object.- Returns:
- a
stringbufferrepresenting this object
-
psyToString
Returns astringrepresenting this object.- Returns:
- a
stringrepresenting this object
-
toSyntaxString
Returns the syntactic representation of this object.- Returns:
- the syntactic representation of this object
-
convert
-
psyInstanceOf
-
psyHashCode
Returns anintegerhash code for this object.- Returns:
- an
integerhash code for this object
-