java.lang.Iterable<T> Extension

Location

Instance Methods


Any<T>

 

method Any<T>: Boolean

 

Boolean Any<T>()

 

func Any<T>() -> Boolean

 

Boolean Any<T>()

 

Function Any<T>() As Boolean

Any<T> (Predicate<T>): Boolean

 

method Any<T>(aBlock: Predicate<T>): Boolean

 

Boolean Any<T>(Predicate<T> aBlock)

 

func Any<T>(_ aBlock: Predicate<T>) -> Boolean

 

Boolean Any<T>(Predicate<T> aBlock)

 

Function Any<T>(aBlock As Predicate<T>) As Boolean

Parameters:

  • aBlock:

Cast<T,U>

 

method Cast<T,U>: Iterable<U>

 

Iterable<U> Cast<T,U>()

 

func Cast<T,U>() -> Iterable<U>

 

Iterable<U> Cast<T,U>()

 

Function Cast<T,U>() As Iterable<U>

Concat<T>

 

method Concat<T>(aSecond: Iterable<T>): Iterable<T>

 

Iterable<T> Concat<T>(Iterable<T> aSecond)

 

func Concat<T>(_ aSecond: Iterable<T>) -> Iterable<T>

 

Iterable<T> Concat<T>(Iterable<T> aSecond)

 

Function Concat<T>(aSecond As Iterable<T>) As Iterable<T>

Parameters:

  • aSecond:

Contains<T>

 

method Contains<T>(aElement: T): Boolean

 

Boolean Contains<T>(T aElement)

 

func Contains<T>(_ aElement: T) -> Boolean

 

Boolean Contains<T>(T aElement)

 

Function Contains<T>(aElement As T) As Boolean

Parameters:

  • aElement:

Count<T>

 

method Count<T>: Integer

 

Integer Count<T>()

 

func Count<T>() -> Integer

 

Integer Count<T>()

 

Function Count<T>() As Integer

Distinct<T>

 

method Distinct<T>(aComparator: Comparer<T>): Iterable<T>

 

Iterable<T> Distinct<T>(Comparer<T> aComparator)

 

func Distinct<T>(_ aComparator: Comparer<T>) -> Iterable<T>

 

Iterable<T> Distinct<T>(Comparer<T> aComparator)

 

Function Distinct<T>(aComparator As Comparer<T>) As Iterable<T>

Parameters:

  • aComparator:

Except<T>

 

method Except<T>(aSecond: Iterable<T>; aComparator: Comparer<T>): Iterable<T>

 

Iterable<T> Except<T>(Iterable<T> aSecond, Comparer<T> aComparator)

 

func Except<T>(_ aSecond: Iterable<T>, _ aComparator: Comparer<T>) -> Iterable<T>

 

Iterable<T> Except<T>(Iterable<T> aSecond, Comparer<T> aComparator)

 

Function Except<T>(aSecond As Iterable<T>, aComparator As Comparer<T>) As Iterable<T>

Parameters:

  • aSecond:
  • aComparator:

FirstOrDefault<T>

 

method FirstOrDefault<T>: T

 

T FirstOrDefault<T>()

 

func FirstOrDefault<T>() -> T

 

T FirstOrDefault<T>()

 

Function FirstOrDefault<T>() As T

Intersect<T>

 

method Intersect<T>(aSecond: Iterable<T>; aComparator: Comparer<T>): Iterable<T>

 

Iterable<T> Intersect<T>(Iterable<T> aSecond, Comparer<T> aComparator)

 

func Intersect<T>(_ aSecond: Iterable<T>, _ aComparator: Comparer<T>) -> Iterable<T>

 

Iterable<T> Intersect<T>(Iterable<T> aSecond, Comparer<T> aComparator)

 

Function Intersect<T>(aSecond As Iterable<T>, aComparator As Comparer<T>) As Iterable<T>

Parameters:

  • aSecond:
  • aComparator:

OrderBy<T,C>

 

method OrderBy<T,C>(aBlock: Selector<T, C>): Iterable<T>

 

Iterable<T> OrderBy<T,C>(Selector<T, C> aBlock)

 

func OrderBy<T,C>(_ aBlock: Selector<T, C>) -> Iterable<T>

 

Iterable<T> OrderBy<T,C>(Selector<T, C> aBlock)

 

Function OrderBy<T,C>(aBlock As Selector<T, C>) As Iterable<T>

Parameters:

  • aBlock:

OrderByDescending<T,C>

 

method OrderByDescending<T,C>(aBlock: Selector<T, C>): Iterable<T>

 

Iterable<T> OrderByDescending<T,C>(Selector<T, C> aBlock)

 

func OrderByDescending<T,C>(_ aBlock: Selector<T, C>) -> Iterable<T>

 

Iterable<T> OrderByDescending<T,C>(Selector<T, C> aBlock)

 

Function OrderByDescending<T,C>(aBlock As Selector<T, C>) As Iterable<T>

Parameters:

  • aBlock:

Reverse<T>

 

method Reverse<T>: Iterable<T>

 

Iterable<T> Reverse<T>()

 

func Reverse<T>() -> Iterable<T>

 

Iterable<T> Reverse<T>()

 

Function Reverse<T>() As Iterable<T>

Select<T,R>

 

method Select<T,R>(aBlock: Selector<T,R>): Iterable<R>

 

Iterable<R> Select<T,R>(Selector<T,R> aBlock)

 

func Select<T,R>(_ aBlock: Selector<T,R>) -> Iterable<R>

 

Iterable<R> Select<T,R>(Selector<T,R> aBlock)

 

Function Select<T,R>(aBlock As Selector<T,R>) As Iterable<R>

Parameters:

  • aBlock:

Skip<T>

 

method Skip<T>(aCount: Integer): Iterable<T>

 

Iterable<T> Skip<T>(Integer aCount)

 

func Skip<T>(_ aCount: Integer) -> Iterable<T>

 

Iterable<T> Skip<T>(Integer aCount)

 

Function Skip<T>(aCount As Integer) As Iterable<T>

Parameters:

  • aCount:

SkipWhile<T>

 

method SkipWhile<T>(aBlock: Predicate<T>): Iterable<T>

 

Iterable<T> SkipWhile<T>(Predicate<T> aBlock)

 

func SkipWhile<T>(_ aBlock: Predicate<T>) -> Iterable<T>

 

Iterable<T> SkipWhile<T>(Predicate<T> aBlock)

 

Function SkipWhile<T>(aBlock As Predicate<T>) As Iterable<T>

Parameters:

  • aBlock:

Take<T>

 

method Take<T>(aCount: Integer): Iterable<T>

 

Iterable<T> Take<T>(Integer aCount)

 

func Take<T>(_ aCount: Integer) -> Iterable<T>

 

Iterable<T> Take<T>(Integer aCount)

 

Function Take<T>(aCount As Integer) As Iterable<T>

Parameters:

  • aCount:

TakeWhile<T>

 

method TakeWhile<T>(aBlock: Predicate<T>): Iterable<T>

 

Iterable<T> TakeWhile<T>(Predicate<T> aBlock)

 

func TakeWhile<T>(_ aBlock: Predicate<T>) -> Iterable<T>

 

Iterable<T> TakeWhile<T>(Predicate<T> aBlock)

 

Function TakeWhile<T>(aBlock As Predicate<T>) As Iterable<T>

Parameters:

  • aBlock:

ToArray<T>

 

method ToArray<T>: array of T

 

T[] ToArray<T>()

 

func ToArray<T>() -> T...

 

T[] ToArray<T>()

 

Function ToArray<T>() As T()

ToDictionary<T,K,V>

 

method ToDictionary<T,K,V>(aKeyBlock: Selector<T, K>; aValueBlock: Selector<K, V>): Hashtable<K, V>

 

Hashtable<K, V> ToDictionary<T,K,V>(Selector<T, K> aKeyBlock, Selector<K, V> aValueBlock)

 

func ToDictionary<T,K,V>(_ aKeyBlock: Selector<T, K>, _ aValueBlock: Selector<K, V>) -> Hashtable<K, V>

 

Hashtable<K, V> ToDictionary<T,K,V>(Selector<T, K> aKeyBlock, Selector<K, V> aValueBlock)

 

Function ToDictionary<T,K,V>(aKeyBlock As Selector<T, K>, aValueBlock As Selector<K, V>) As Hashtable<K, V>

Parameters:

  • aKeyBlock:
  • aValueBlock:

ToList<T>

 

method ToList<T>: ArrayList<T>

 

ArrayList<T> ToList<T>()

 

func ToList<T>() -> ArrayList<T>

 

ArrayList<T> ToList<T>()

 

Function ToList<T>() As ArrayList<T>

Where<T>

 

method Where<T>(aBlock: Predicate<T>): Iterable<T>

 

Iterable<T> Where<T>(Predicate<T> aBlock)

 

func Where<T>(_ aBlock: Predicate<T>) -> Iterable<T>

 

Iterable<T> Where<T>(Predicate<T> aBlock)

 

Function Where<T>(aBlock As Predicate<T>) As Iterable<T>

Parameters:

  • aBlock: