Bug 558371: Update FilterImpl

Replace old implementation with a more modern implementation using
method handles and subtyping to avoid repeated checks for operand type.
1 file changed