Package coneforest.psylla.core
Interface PsyAppendable<T extends PsyObject>
- Type Parameters:
T
- a type ofobject
s being appended.
- All Superinterfaces:
PsyConvertableToName
,PsyConvertableToString
,PsyObject
- All Known Subinterfaces:
PsyFormalArray<T>
,PsyFormalSet<T>
A representation of
appendable
, a type of container that allow to
append objects (usually to the end, if it makes sense).-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
Appends a givenobject
to this container.default void
psyAppendAll
(PsyIterable<? extends T> oEnumeration) Appends all theobject
s from a giveniterable
enumeration to this container.psyReplicate
(PsyInteger oCount) Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
Field Details
-
OPERATORS
-
-
Method Details
-
psyAppend
Appends a givenobject
to this container.- Parameters:
o
- anobject
to append.- Throws:
PsyErrorException
- when an error occurs.
-
psyAppendAll
Appends all theobject
s from a giveniterable
enumeration to this container. When a given enumeration is the same as this container, first clone the enumeration, and then appends all the elements from the clone to avoid concurrent modification.- Parameters:
oEnumeration
- aniterable
enumeration.- Throws:
PsyErrorException
- when an error occurs.
-
psyReplicate
- Throws:
PsyErrorException
-