Class StreamCar

All Implemented Interfaces:
ZeroLengthBehaviourI, ZeroLengthBehaviourI.DefaultZeroLengthBehaviourI, JepComponent, PostfixMathCommandI, Serializable

Extract the first element from a stream. Typically used in conjunction with StreamCdr to split a stream into its first element and the rest of the stream. For example:
[3..7] . chained(seq=>[car(seq), cdr(seq)])
This can be used multiple times for the same stream.
Since:
Jep 4.1, extensions 2.2
See Also:
  • Constructor Details

    • StreamCar

      public StreamCar()
  • Method Details