How do I apply an if statement condition to every element on an arraylist?
47196
Ways to iterate over a list in Java
131886
Why doesn't this method work? Java ternary operator
17784
Java if ternary operator and Collections.emptyList()
52179
What's a functional replacement for if-then statements?
113187
Comparing Java enum members: == or equals()?
134025
How to check if an array value exists?
5975
How to avoid returning a Null if there is no "else" condition in an If construct
264
How does the Java 'for each' loop work?
65531
How do I select elements of an array given condition?
134644
Compare two objects with .equals() and == operator
78156
String.equals() with multiple conditions (and one action on result)
6527
How to avoid java.util.ConcurrentModificationException when iterating through and removing elements from an ArrayList
480
What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
50708
How to use OR condition in a JavaScript IF statement?
115499
Java: Best way to store to an arbitrary index of an ArrayList
135196
ArrayIndexOutOfBoundsException when iterating through all the elements of an array
123743
how does an ArrayList compare to a dynamic array