Java Arraylist Get First Element Of A Tuple