Interface PsyIterable<T extends PsyObject>
- 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, PsyConfigDict, PsyDict, PsyEnvironment, PsyModule, PsyName, PsyNamespace, PsyProc, PsySet, PsyString, PsyStringBuffer, 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 PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPEFields inherited from interface PsySequential
PSY_FORALLFields inherited from interface PsyStreamable
PSY_STREAM -
Method Summary
Modifier and TypeMethodDescriptiondefault PsyFormalStream<T> default PsyArraydefault PsyStringBufferpsyUnite(PsyTextual oSeparator) Methods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToString, psyToStringBuffer, psyType, toSyntaxString, typeNameMethods inherited from interface PsyStreamable
psyForAll
-
Method Details
-
psyToArray
- Throws:
PsyErrorException
-
psyStream
- Specified by:
psyStreamin interfacePsyStreamable<T extends PsyObject>
-
psyUnite
- Throws:
PsyErrorException
-