scorex.util.Extensions
Safely casting each element of collection to be type of B.
B
Safely casting each element of collection to be type of B. If element can not to be cast to B then AssertionError is thrown
AssertionError