- 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
,PsyFileNotFoundException
,PsyFileReader
,PsyFileSystemErrorException
,PsyFileWriter
,PsyFraction
,PsyInput
,PsyInteger
,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 ContextAction
Context action of theclone
operator.static final ContextAction
Context action of theeq
operator.static final ContextAction
Context action of thehashcode
operator.static final ContextAction
Context action of theinstanceof
operator.static final ContextAction
Context action of thene
operator.static final ContextAction
Context action of thetostring
operator.static final ContextAction
Context action of thetostringbuffer
operator.static final ContextAction
Context action of thetype
operator. -
Method Summary
Modifier and TypeMethodDescriptiondefault PsyStringBuffer
convert
(Class<PsyStringBuffer> clazz) default void
execute
(PsyContext oContext) Execute thisobject
in the given execution context.default void
invoke
(PsyContext oContext) Invoke thisobject
in the given execution context.default PsyObject
psyClone()
Returns a clone of this object.default PsyBoolean
Returns aboolean
result of equality test of thisobject
and givenobject
.default PsyInteger
Returns aninteger
hash code for this object.default PsyBoolean
psyInstanceOf
(PsyTextual oTypeName) default PsyBoolean
default PsyString
Returns a syntactic representation of this object as aname
.default PsyString
Returns astring
representing this object.default PsyStringBuffer
Returns astringbuffer
representing this object.default PsyString
psyType()
default String
Returns the syntactic representation of this object.default String
typeName()
Returns a string representation of thisobject
’s type name.
-
Field Details
-
PSY_CLONE
Context action of theclone
operator. -
PSY_EQ
Context action of theeq
operator. -
PSY_HASHCODE
Context action of thehashcode
operator. -
PSY_INSTANCEOF
Context action of theinstanceof
operator. -
PSY_NE
Context action of thene
operator. -
PSY_TOSTRING
Context action of thetostring
operator. -
PSY_TOSTRINGBUFFER
Context action of thetostringbuffer
operator. -
PSY_TYPE
Context action of thetype
operator.
-
-
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 thisobject
in the given execution context. Pushes thisobject
into context’s operand stack.- Parameters:
oContext
- the execution context.
-
invoke
Invoke thisobject
in the given execution context. Pushes thisobject
into context’s operand stack.- Parameters:
oContext
- the execution context.
-
psyEq
Returns aboolean
result of equality test of thisobject
and givenobject
.- Parameters:
o
- theobject
to be compared for equality.- Returns:
- a
boolean
result of equality test of thisobject
and 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 astringbuffer
representing this object.- Returns:
- a
stringbuffer
representing this object
-
psyToString
Returns astring
representing this object.- Returns:
- a
string
representing this object
-
toSyntaxString
Returns the syntactic representation of this object.- Returns:
- the syntactic representation of this object
-
convert
-
psyInstanceOf
-
psyHashCode
Returns aninteger
hash code for this object.- Returns:
- an
integer
hash code for this object
-