iterate_all_by_interface


Description:

public Iterator? iterate_all_by_interface (Type iface)

Looks for all elements inside the bin that implements the given interface.

You can safely cast all returned elements to the given interface. The function recurses inside child bins. The iterator will yield a series of Element.

Parameters:

this

a Bin

iface

the Type of an interface

Returns:

a Iterator of Element for all elements in the bin implementing the given interface