Class LinqIterable

java.lang.Object
com.flowable.template.engine.impl.linq.LinqIterable
All Implemented Interfaces:
java.lang.Iterable

public class LinqIterable
extends java.lang.Object
implements java.lang.Iterable
Adapts the wrapped Iterable to be used in a Linq context. It allows iterables containing maps and by default it converts the entries to a String to maximise the compatibility with Linq.
See Also:
LinqContext
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    protected static class  LinqIterable.StringIterator  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.Iterable iterable  
  • Constructor Summary

    Constructors 
    Constructor Description
    LinqIterable​(java.lang.Iterable iterable)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Iterator iterator()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

    • iterable

      protected final java.lang.Iterable iterable
  • Constructor Details

    • LinqIterable

      public LinqIterable​(java.lang.Iterable iterable)
  • Method Details

    • iterator

      public java.util.Iterator iterator()
      Specified by:
      iterator in interface java.lang.Iterable
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object