Java Int Array Find Typescript