query<C extends E> abstract method

Iterable<C> query<C extends E>()

Allow you to find a subset of this set with all the elements e for which the condition e is C is true. This is equivalent to

  orderedSet.whereType<C>()

except that it is O(0).

Note: you must call register for every type C you desire to use before calling this, or set strictMode to false.

Implementation

Iterable<C> query<C extends E>();