Package coneforest.psylla.core
Interface PsyIterable<T extends PsyObject>
-
- Type Parameters:
T- a type of elements returned by the iterator.
- All Superinterfaces:
Iterable<T>,PsyConvertableToName,PsyConvertableToString,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,PsyRomanNumerals,PsySet,PsyString,PsySystemDict
public interface PsyIterable<T extends PsyObject> extends PsyStreamable<T>, Iterable<T>
A representation of Ψ-iterable, a type of an object that can be iterated over.
-
-
Field Summary
-
Fields inherited from interface coneforest.psylla.core.PsyStreamable
OPERATORS
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default PsyFormalStream<T>psyStream()default PsyArraypsyToArray()default PsyStringpsyUnite(PsyTextual oSeparator)-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
Methods inherited from interface coneforest.psylla.core.PsyStreamable
psyForAll
-
-
-
-
Method Detail
-
psyToArray
default PsyArray psyToArray() throws PsyException
- Throws:
PsyException
-
psyStream
default PsyFormalStream<T> psyStream()
- Specified by:
psyStreamin interfacePsyStreamable<T extends PsyObject>
-
psyUnite
default PsyString psyUnite(PsyTextual oSeparator) throws PsyException
- Throws:
PsyException
-
-