I have Collection<Number> but I needed Collection<Integer>
How can I convert it safety?
And more common issue:
How to convert Collection<Parent> to Collection<Child>
I have Collection<Number> but I needed Collection<Integer>
How can I convert it safety?
And more common issue:
How to convert Collection<Parent> to Collection<Child>