...
This change will make it easier to write reusable code for transformations, without requiring additional wrappers around existing code, or the unnecessary use of unchecked casts.
More concretely, if Cat
extends Animal
, and I have Predicate<Animal, Object> animalPredicate
, then I should be able to call KStream<Cat, Picture>.filter(animalPredicate)
...