Some Java utilities for operating on collections in patterns inspired by functional programming languages