How can I reach into the condition ?
// The Strings of the list below can have the edge spaces.
List<String> list = Arrays.asList("Mango", " Apple", " Banana ", " Blackberry");
String banana = "Banana"; // with no edge spaces
if (list.contains(banana)) {
System.out.println("Yes it is listed"); // How can I print this line ?
}