- Type Parameters:
T- a type of elements returned by the iterator.
- All Superinterfaces:
Iterable<T>,PsyObject,PsySequential<T>,PsyStreamable<T>
- All Known Subinterfaces:
PsyContainer<T>,PsyFormalArray<T>,PsyFormalDict<V>,PsyFormalQueue<T>,PsyFormalSet<T>,PsyTextual
- All Known Implementing Classes:
PsyArray,PsyBitArray,PsyBitSet,PsyBlockingQueue,PsyCommand,PsyConfigDict,PsyDict,PsyErrorDict,PsyModule,PsyName,PsyNamespace,PsyProc,PsySet,PsyString,PsySystemDict
@Type("iterable")
public interface PsyIterable<T extends PsyObject>
extends PsyStreamable<T>, Iterable<T>
The representation of
iterable, a type of an object that can be iterated over.-
Field Summary
Fields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TONAME, PSY_TOSTRING, PSY_TYPEFields inherited from interface coneforest.psylla.core.PsySequential
PSY_FORALLFields inherited from interface coneforest.psylla.core.PsyStreamable
PSY_STREAM -
Method Summary
Modifier and TypeMethodDescriptiondefault PsyFormalStream<T>default PsyArraydefault PsyStringpsyUnite(PsyTextual oSeparator) Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeNameMethods inherited from interface coneforest.psylla.core.PsyStreamable
psyForAll
-
Method Details
-
psyToArray
- Throws:
PsyErrorException
-
psyStream
- Specified by:
psyStreamin interfacePsyStreamable<T extends PsyObject>
-
psyUnite
- Throws:
PsyErrorException
-