Typescript Find Item In Array Of Pointers In Java